Skip to content

Instantly share code, notes, and snippets.

@hidekiy
Created November 17, 2013 13:12
Show Gist options
  • Save hidekiy/7513246 to your computer and use it in GitHub Desktop.
Save hidekiy/7513246 to your computer and use it in GitHub Desktop.
[supervisord]
logfile = /var/log/supervisor/supervisord.log
pidfile = /var/run/supervisord.pid
childlogdir = /var/log/supervisor
[unix_http_server]
file = /tmp/supervisor.sock
chmod = 0700
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl = unix:///tmp/supervisor.sock
[program:growthforecast]
user = growthf
command = /home/pi/.plenv/shims/growthforecast.pl --data-dir /opt/growthforecast/data --front-proxy 127.0.0.1 --mount GrowthForecast --disable-1min-metrics
autostart = true
autorestart = true
redirect_stderr = true
stdout_logfile = /var/log/supervisor/%(program_name)s.log
stderr_logfile = None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment