Added basic upstart file for libra_worker to libra/etc/libra_worker.conf. Still need to see about making this get installed as part of running setup.py, but the script works for initial purposes

Change-Id: Ib70ffadfec015c2fc27fd1316754a3cefbc3211a
This commit is contained in:
pcrews 2012-12-06 13:38:20 -05:00
parent db34d6d0b6
commit 1ee10bd980

15
etc/libra_worker.conf Normal file
View File

@ -0,0 +1,15 @@
description "libra_worker"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [!2345]
script
mkdir /var/run/libra
chown haproxy /var/run/libra
chgrp haproxy /var/run/libra
libra_worker -c /etc/libra.cnf
end script