diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-06-07 09:25:12 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-06-07 09:25:12 +0200 |
commit | 6b8223e634b1326f448b870351ae53a0607aa043 (patch) | |
tree | cc1754cc8e195a5b84bdadf0d01db22f73da25af /nixos/modules/services/misc/freeswitch.nix | |
parent | 43f71029cc6b18c1b4db4d01b35dbb30425c2f4e (diff) | |
parent | 1c3e3e081c22ba4dbf8f1b8cb31a55830596b838 (diff) | |
download | nixlib-6b8223e634b1326f448b870351ae53a0607aa043.tar nixlib-6b8223e634b1326f448b870351ae53a0607aa043.tar.gz nixlib-6b8223e634b1326f448b870351ae53a0607aa043.tar.bz2 nixlib-6b8223e634b1326f448b870351ae53a0607aa043.tar.lz nixlib-6b8223e634b1326f448b870351ae53a0607aa043.tar.xz nixlib-6b8223e634b1326f448b870351ae53a0607aa043.tar.zst nixlib-6b8223e634b1326f448b870351ae53a0607aa043.zip |
Merge master into staging-next
Diffstat (limited to 'nixos/modules/services/misc/freeswitch.nix')
-rw-r--r-- | nixos/modules/services/misc/freeswitch.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/freeswitch.nix b/nixos/modules/services/misc/freeswitch.nix index d27dbe220d3c..b42f36e86637 100644 --- a/nixos/modules/services/misc/freeswitch.nix +++ b/nixos/modules/services/misc/freeswitch.nix @@ -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 ]; }; } |