Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 568
Vladimir Pak Avatar asked Apr 09 '14 07:04

Vladimir Pak


1 Answers

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

like image 109
Vladimir Pak Avatar answered Nov 01 '22 15:11

Vladimir Pak