mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
fcron: do not chmod at all
fcron does handle permissions on its own correctly
This commit is contained in:
parent
9223fde9f3
commit
5ca7e8a69a
1 changed files with 5 additions and 3 deletions
|
@ -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}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue