Vladimir Pak
Vladimir Pak

Reputation: 702

supervisor: spawnerr: can't find command

I installed supervisord using pipe. And created configuration file

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

But when I restart service I always see in log

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

Please, say what's wrong?

Upvotes: 8

Views: 11663

Answers (1)

Vladimir Pak
Vladimir Pak

Reputation: 702

I solved this problem. Just delete quotes.

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

I recommend you read article Daemon-ize your processes on the cheap, part two: Supervisor

Upvotes: 10

Related Questions