Skip to content

Commit b2f5284

Browse files
committed
Run crond with -s to turn off trying to send mail
This keeps the logfile from filling up with messages about crond not being able to send mail or not finding `esmtprc`.
1 parent 2b65fe1 commit b2f5284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crond_startup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

0 commit comments

Comments
 (0)