문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top