Skip to content

Commit 73392b7

Browse files
committed
nixos/freeswitch: always run systemctl of the currently running systemd
1 parent 8aaca0a commit 73392b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nixos/modules/services/misc/freeswitch.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ in {
7878
wantedBy = [ "multi-user.target" ];
7979
restartTriggers = [ configDirectory ];
8080
serviceConfig = {
81-
ExecStart = "${pkgs.systemd}/bin/systemctl try-reload-or-restart freeswitch.service";
81+
ExecStart = "/run/current-system/systemd/bin/systemctl try-reload-or-restart freeswitch.service";
8282
RemainAfterExit = true;
8383
Type = "oneshot";
8484
};

0 commit comments

Comments
 (0)