diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init index 01cb27e..8bd4c23 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-agent.init | |||
| @@ -12,6 +12,7 @@ SUFFIX=@suffix@ | |||
| 12 | DESC="neutron-$SUFFIX-agent" | 12 | DESC="neutron-$SUFFIX-agent" |
| 13 | DAEMON="/usr/bin/neutron-$SUFFIX-agent" | 13 | DAEMON="/usr/bin/neutron-$SUFFIX-agent" |
| 14 | PIDFILE="/var/run/neutron-$SUFFIX-agent.pid" | 14 | PIDFILE="/var/run/neutron-$SUFFIX-agent.pid" |
| 15 | DAEMON_ARGS="@args@" | ||
| 15 | 16 | ||
| 16 | start() | 17 | start() |
| 17 | { | 18 | { |
| @@ -34,7 +35,7 @@ start() | |||
| 34 | 35 | ||
| 35 | start-stop-daemon --start --quiet --background \ | 36 | start-stop-daemon --start --quiet --background \ |
| 36 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ | 37 | --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} \ |
| 37 | -- --log-dir=/var/log/neutron | 38 | -- ${DAEMON_ARGS} --log-dir=/var/log/neutron |
| 38 | 39 | ||
| 39 | if [ $? -eq 0 ]; then | 40 | if [ $? -eq 0 ]; then |
| 40 | echo "done." | 41 | echo "done." |
