Skip to content

Commit

Permalink
Merge pull request #85 from matyasselmeci/pr/crond-nomail
Browse files Browse the repository at this point in the history
Run crond with `-s` to turn off trying to send mail
  • Loading branch information
matyasselmeci committed Feb 28, 2024
2 parents 2b65fe1 + b2f5284 commit b4d559d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crond_startup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ $(id -u) != 0 ]; then
exec /usr/bin/fakeroot-sysv /usr/sbin/crond -n
exec /usr/bin/fakeroot-sysv /usr/sbin/crond -n -s
fi
exec /usr/sbin/crond -n
exec /usr/sbin/crond -n -s

0 comments on commit b4d559d

Please sign in to comment.