14 lines
405 B
Plaintext
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
|