3
0
Fork 0
forked from mirrors/nixpkgs

fcron: do not chmod at all

fcron does handle permissions on its own correctly
This commit is contained in:
Jörg Thalheim 2017-04-13 12:26:45 +02:00
parent 9223fde9f3
commit 5ca7e8a69a
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -143,10 +143,12 @@ in
};
preStart = ''
${pkgs.coreutils}/bin/mkdir -m 0770 -p /var/spool/fcron
${pkgs.coreutils}/bin/chown -R fcron:fcron /var/spool/fcron
install \
--mode 0770 \
--owner fcron \
--group fcron \
--directory /var/spool/fcron
# load system crontab file
set -x
#${pkgs.fcron}/bin/fcrontab -u systab ${pkgs.writeText "systab" cfg.systab}
'';