forked from mirrors/nixpkgs
Merge pull request #89558 from helsinki-systems/freeswitch-path
nixos/freeswitch: Unit improvements and add fs_cli
This commit is contained in:
commit
8de15acd43
|
@ -95,9 +95,11 @@ in {
|
|||
-conf ${configPath} \\
|
||||
-base /var/lib/freeswitch";
|
||||
ExecReload = "${pkg}/bin/fs_cli -x reloadxml";
|
||||
Restart = "always";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
CPUSchedulingPolicy = "fifo";
|
||||
};
|
||||
};
|
||||
environment.systemPackages = [ pkg ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue