nixos/asterisk: /var/run -> /run

This commit is contained in:
Bob van der Linden 2019-03-24 21:13:19 +01:00
parent 40679eb3c8
commit 08558245a4
No known key found for this signature in database
GPG key ID: 2A90361F99CF1795

View file

@ -45,7 +45,7 @@ let
astdatadir => /var/lib/asterisk astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk astrundir => /run/asterisk
astlogdir => /var/log/asterisk astlogdir => /var/log/asterisk
astsbindir => ${cfg.package}/sbin astsbindir => ${cfg.package}/sbin
''; '';
@ -257,7 +257,7 @@ in
ExecReload = ''${cfg.package}/bin/asterisk -x "core reload" ExecReload = ''${cfg.package}/bin/asterisk -x "core reload"
''; '';
Type = "forking"; Type = "forking";
PIDFile = "/var/run/asterisk/asterisk.pid"; PIDFile = "/run/asterisk/asterisk.pid";
}; };
}; };
}; };