charm-neutron-gateway/templates/git/upstart/neutron-ovs-cleanup.upstart
2015-05-05 19:50:11 +00:00

14 lines
405 B
Plaintext

description "{{ service_description }}"
author "Juju {{ service_name }} Charm <juju@localhost>"
start on started openvswitch-switch
stop on runlevel [!2345]
pre-start script
[ ! -x /usr/local/bin/{{ process_name }} ] && exit 0
start-stop-daemon --start --chuid neutron \
--exec {{ executable_name }} -- \
--log-file {{ log_file }} \
--config-file {{ config_file }} --verbose
end script