Skip to content

Commit

Permalink
nixos/cron: Fix ShellCheck issues (#370910)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Jan 4, 2025
2 parents 8db2568 + 361c7f7 commit 270fcad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/modules/services/scheduling/cron.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ in
wantedBy = [ "multi-user.target" ];

preStart = ''
mkdir -m 710 -p /var/cron
(umask 022 && mkdir -p /var)
(umask 067 && mkdir -p /var/cron)
# By default, allow all users to create a crontab. This
# is denoted by the existence of an empty cron.deny file.
Expand Down

0 comments on commit 270fcad

Please sign in to comment.