The current method of defining the daemon directory doesn't quite work on centos 6.x:
Error executing action `start` on resource 'service[supervisor]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service supervisor start ----
STDOUT: Starting supervisor: [FAILED]
STDERR: /usr/bin/dirname: extra operand `.pid'
Try `/usr/bin/dirname --help' for more information.
/bin/bash: /usr/local/bin/supervisord: No such file or directory
---- End output of /sbin/service supervisor start ----
Ran /sbin/service supervisor start returned 1
The current method of defining the daemon directory doesn't quite work on centos 6.x:
Tested on a vagrant with:
I've traced this to:
This is defined in: https://github.com/poise/supervisor/blob/master/templates%2Fdefault%2Frhel%2Fsupervisor.init.erb