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:
parent
db34d6d0b6
commit
1ee10bd980
15
etc/libra_worker.conf
Normal file
15
etc/libra_worker.conf
Normal 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user