Skip to content

Commit

Permalink
make the environment file optional
Browse files Browse the repository at this point in the history
Starting the daemon works without additional environment variables, so
make the file optional.
  • Loading branch information
eworm-de authored and t8m committed Oct 13, 2023
1 parent a292fb7 commit 1a6bed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/cronie.systemd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=Command Scheduler
After=auditd.service nss-user-lookup.target systemd-user-sessions.service time-sync.target ypbind.service autofs.service

[Service]
EnvironmentFile=/etc/sysconfig/crond
EnvironmentFile=-/etc/sysconfig/crond
ExecStart=/usr/sbin/crond -n $CRONDARGS
ExecReload=/bin/kill -URG $MAINPID
KillMode=process
Expand Down

0 comments on commit 1a6bed1

Please sign in to comment.