nixos/asterisk: /var/run -> /run
This commit is contained in:
parent
40679eb3c8
commit
08558245a4
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue