# Downloaded from: # https://git.launchpad.net/ubuntu/+source/supervisor/tree/debian/supervisor.service [Unit] Description=Supervisor process control system for UNIX Documentation=http://supervisord.org After=network.target [Service] ExecStart=<%= @cookbook_virtualenv_path %>/bin/supervisord -n -c /etc/supervisord.conf ExecStop=<%= @cookbook_virtualenv_path %>/bin/supervisorctl $OPTIONS shutdown ExecReload=<%= @cookbook_virtualenv_path %>/bin/supervisorctl -c /etc/supervisord.conf $OPTIONS reload KillMode=process Restart=on-failure RestartSec=50s [Install] WantedBy=multi-user.target