We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584dc82 commit fd32889Copy full SHA for fd32889
opensciencegrid/logrotate/startup.sh
@@ -5,4 +5,6 @@
5
echo "$CRON_EXPR /usr/sbin/logrotate $LOGROTATE_OPTIONS $LOGROTATE_CONF" '> /proc/$(cat /var/run/crond.pid)/fd/1 2>&1' | crontab -
6
7
# Start cron in non-daemon (foreground) mode
8
-crond -n
+exec crond -n
9
+echo >&2 "Exec failed!"
10
+exit 255
0 commit comments