system-config/modules/meetbot/templates/upstart.erb
Andrew Hutchings e992c82c55 Puts meetbot under control of puppet
Adds meetbot and an nginx setup to puppet.  See manifests/site.pp for usage

Change-Id: I47dcf2884a06441b482585bf5dae9f7d0bd7e543
2012-04-24 16:35:09 +01:00

10 lines
390 B
Plaintext

description "<%= name %> Meetbot Server"
author "Andrew Hutchings <andrew@linuxjedi.co.uk>"
start on (local-filesystem and net-device-up)
stop on runlevel [!2345]
env PYTHONPATH=/var/lib/meetbot/<%= name %>
exec start-stop-daemon --start --chdir /var/lib/meetbot/openstack --chuid meetbot --name meetbot --startas /usr/bin/python /usr/bin/supybot /var/lib/meetbot/<%= name %>.conf