summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-05-21 10:29:52 +0200
committerFlorian Klink <flokli@flokli.de>2020-05-21 10:29:52 +0200
commit73392b748feec1640be75d359417890628c834a2 (patch)
treeb2a3e903fd0f1221189caf589e05b754b8a7db88
parent8aaca0addc8827ed37035b5297a21605b8980a71 (diff)
downloadnixpkgs-73392b748feec1640be75d359417890628c834a2.tar
nixpkgs-73392b748feec1640be75d359417890628c834a2.tar.gz
nixpkgs-73392b748feec1640be75d359417890628c834a2.tar.bz2
nixpkgs-73392b748feec1640be75d359417890628c834a2.tar.lz
nixpkgs-73392b748feec1640be75d359417890628c834a2.tar.xz
nixpkgs-73392b748feec1640be75d359417890628c834a2.tar.zst
nixpkgs-73392b748feec1640be75d359417890628c834a2.zip
nixos/freeswitch: always run systemctl of the currently running systemd
-rw-r--r--nixos/modules/services/misc/freeswitch.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/freeswitch.nix b/nixos/modules/services/misc/freeswitch.nix
index 0de5ba42811..d27dbe220d3 100644
--- a/nixos/modules/services/misc/freeswitch.nix
+++ b/nixos/modules/services/misc/freeswitch.nix
@@ -78,7 +78,7 @@ in {
       wantedBy = [ "multi-user.target" ];
       restartTriggers = [ configDirectory ];
       serviceConfig = {
-        ExecStart = "${pkgs.systemd}/bin/systemctl try-reload-or-restart freeswitch.service";
+        ExecStart = "/run/current-system/systemd/bin/systemctl try-reload-or-restart freeswitch.service";
         RemainAfterExit = true;
         Type = "oneshot";
       };