109e02b1ce
Switch to using svc-map element for systemd based agent. This allows both .deb and .rpm installs to share the element for systemd based installs. There are not any plans to package a .rpm package for upstart or sysv, so these are left as is. Change-Id: Idca7ad97355cae785162989774a7e6dea6fdc5b5 Closes-Bug: #1490584
20 lines
362 B
Text
Executable file
20 lines
362 B
Text
Executable file
# ironic-python-agent - Openstack Ironic Python Agnet
|
|
#
|
|
# The ironic-python-agent helps ironic in deploying instances.
|
|
|
|
description "Ironic Python Agnet"
|
|
|
|
start on runlevel [2345]
|
|
stop on runlevel [!2345]
|
|
|
|
respawn
|
|
respawn limit 10 5
|
|
umask 022
|
|
|
|
expect stop
|
|
|
|
pre-start script
|
|
echo Starting Ironic Python Agent
|
|
end script
|
|
|
|
exec /usr/bin/ironic-python-agent
|