aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/services/misc/freeswitch.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/services/misc/freeswitch.nix')
-rw-r--r--nixpkgs/nixos/modules/services/misc/freeswitch.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/nixos/modules/services/misc/freeswitch.nix b/nixpkgs/nixos/modules/services/misc/freeswitch.nix
index d27dbe220d3..b42f36e8663 100644
--- a/nixpkgs/nixos/modules/services/misc/freeswitch.nix
+++ b/nixpkgs/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 ];
};
}