Supervisor: spawnerr: cannot find command

I installed supervisord using pipe. And created a configuration file

[program:sleep]
command="/bin/sleep 1000"

But when I restart the service, I always see in the log

INFO spawnerr: can't find command '/bin/sleep 1000'

Tell me what happened?

+4
source share
1 answer

I solved this problem. Just remove the quotation marks.

[program:sleep]
command=/bin/sleep 1000

I recommend that you read the Daemon -ize article on your processes at a low price, part two: The Supervisor

+6
source

Source: https://habr.com/ru/post/1535693/


All Articles