A role for creating supervisor tasks.
- Ensures that supervisor is installed (using
apt
) - Creates a task in the supervisor conf directory.
roles:
- role: EDITD.supervisor_task
name: webserver
command: python -m SimpleHTTPServer
directory: /opt/web
user: ubuntu
stopsignal: HUP
MIT