Commit 5b34c3a4 authored by Johannes Barthel's avatar Johannes Barthel
Browse files

don't restart bbb-fsesl-akka.service'

parent 6a43b2dc
[package]
name = "freeswitch-watchdog"
version = "0.1.1"
version = "0.1.2"
authors = ["Johannes Barthel <johannes.barthel@student.kit.edu>"]
edition = "2018"
license = "MIT OR Apache-2.0"
......
......@@ -43,7 +43,7 @@ fn is_freeswitch_working (url : &str) -> bool {
fn restart_freeswitch () {
loop {
println!("restarting services…");
let status = Command::new("systemctl").args(&["restart", "freeswitch.service", "bbb-fsesl-akka.service"]).status();
let status = Command::new("systemctl").args(&["restart", "freeswitch.service"]).status(); // "bbb-fsesl-akka.service"
let mut restarted = false;
if status.is_ok() {
if let Ok(ref status) = status {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment