ebd57ddf4c
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
13 lines
279 B
Plaintext
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
|