I have the following in my supervisord.conf:
[program:cron]
command=service cron start
autostart=true
autorestart=false
stderr_logfile=/var/log/cron.err.log
stdout_logfile=/var/log/cron.out.log
Seems like it's failing?:
root@srv:/# supervisorctl
cron FATAL Exited too quickly (process log may have details)
However it's running:
root@srv:/# ps aux | grep cron
root 52 0.0 0.1 26068 2464 ? Ss 13:07 0:00 /usr/sbin/cron
root 3053 0.0 0.0 11284 936 ? S+ 13:08 0:00 grep --color=auto cron
Am I starting cron correctly with supervisor?