R.J. Robinson
R.J. Robinson

Reputation: 2240

Supervisord keeps repeating a process with an exit of zero.

I am working on having supervisord send a curl request upon start. however, despite my best efforts, I set auto restart to false, it keeps running the script.

[program:slack-client]
priority=99
autorestart=false
command=bash -c 'SOME BASH COMMAND'

The error that keeps repeating is

INFO exited: slack-client (exit status 0; not expected)

Upvotes: 2

Views: 2341

Answers (1)

Vitaly Isaev
Vitaly Isaev

Reputation: 5815

I faced with similar behavior of rsyslog. This workaround helped me (but I'm not sure if that's exactly your case):

[program:rsyslog]
command = rsyslogd -n -c3
startsecs = 5
stopwaitsecs = 5

Upvotes: 3

Related Questions