zun/contrib/legacy-ubuntu-init/etc/init/zun-wsproxy.conf
Hongbin Lu ebd57ddf4c Add legacy init script for Ubuntu
For users who are using Ubuntu 14.04, systemd is not supported.
This patch add the sample init script for Ubuntu 14.04.

Change-Id: Icf2a1a85cd0c8eccb291dd05f43c0d6150665df3
2018-07-19 01:35:23 +00:00

13 lines
279 B
Plaintext

description "OpenStack Container Service Websocket Proxy"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
exec start-stop-daemon --start --chuid zun \
--chdir /var/lib/zun \
--name zun-wsproxy \
--exec /usr/local/bin/zun-wsproxy -- \
--config-file=/etc/zun/zun.conf