diff --git a/etc/libra_worker.conf b/etc/libra_worker.conf new file mode 100644 index 00000000..948ba8c3 --- /dev/null +++ b/etc/libra_worker.conf @@ -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 +