git.iko.soy/typeable/nixpkgs
on master help sign in
service.asterisk: fix dir creation
commitde9e05153d2c64886246b140e68de8b70b5b7b10 authorHajo Möller <dasjoe@gmail.com> dateMon 19 Oct 2015, 19:05 (11 years ago) parente07faf0
1 file changed+1
nixos/modules/services/networking/asterisk.nix+1
nixos/modules/services/networking/asterisk.nix+1
@@ -201,6 +201,7 @@ in
201201 for d in '${varlibdir}' '${spooldir}' '${logdir}'; do
202202 # TODO: Make exceptions for /var directories that likely should be updated
203203 if [ ! -e "$d" ]; then
204+ mkdir -p "$d"
204205 cp --recursive ${pkgs.asterisk}/"$d" "$d"
205206 chown --recursive ${asteriskUser} "$d"
206207 find "$d" -type d | xargs chmod 0755