nixos/freeswitch: always run systemctl of the currently running systemd
This commit is contained in:
parent
8aaca0addc
commit
73392b748f
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue