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
21 lines
362 B
Plaintext
Executable File
21 lines
362 B
Plaintext
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
|