Supervisor / initscripts

User-contributed OS init scripts for Supervisor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ubuntu init script fails

aaronschif opened this issue · comments

set -e has no params.

Please give us more than that. It would help us to know how specifically the script failed for you (e.g. what command you issued, what messages you received), why you think set -e should be removed or changed, etc.

It fails for me as well:
Ubuntu 12.04
supervisor 3.0

# /etc/init.d/supervisor start
Starting supervisor: /usr/local/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
Error: Invalid sockchown value nobody:nobody
For help, use /usr/local/bin/supervisord -h

I was able to make it run by adding path to config file in the DAEMON_OPT like so:

DAEMON_OPTS="-c /etc/supervisor/supervisord.conf --pidfile $PIDFILE"

.. actually I take that back, I still have issues

@aaronschif I'm closing due to lack of activity. If you are still having the issue, please provide more information and we reopen.

@meconlin That error doesn't look related to this issue. If you think it is a bug, you can open another issue here. The best place to ask general questions about using Supervisor is the mailing list.