fcron: do not chmod at all
fcron does handle permissions on its own correctly
This commit is contained in:
parent
9223fde9f3
commit
5ca7e8a69a
@ -143,10 +143,12 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
${pkgs.coreutils}/bin/mkdir -m 0770 -p /var/spool/fcron
|
install \
|
||||||
${pkgs.coreutils}/bin/chown -R fcron:fcron /var/spool/fcron
|
--mode 0770 \
|
||||||
|
--owner fcron \
|
||||||
|
--group fcron \
|
||||||
|
--directory /var/spool/fcron
|
||||||
# load system crontab file
|
# load system crontab file
|
||||||
set -x
|
|
||||||
#${pkgs.fcron}/bin/fcrontab -u systab ${pkgs.writeText "systab" cfg.systab}
|
#${pkgs.fcron}/bin/fcrontab -u systab ${pkgs.writeText "systab" cfg.systab}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user