Julia Kreger 6840c963a2 Rename install role to bifrost-ironic-install
Since the install role is specifically geared to install ironic
in a way that bifrost uses, we should name the role appropriately.

Note: This will be followed up with a change to revise the
README file for the role as changing and renaming the file
will result in issues with the file history.

Change-Id: I553a29206a045b5aa0e679ce05e984c7dd4b9df3
Depends-On: Ia6226a8573753ff02da19dcb3c2b5abfb9b3c297
2015-08-14 12:17:56 -04:00

11 lines
343 B
Django/Jinja

start on runlevel [2345]
stop on runlevel [016]
pre-start script
mkdir -p /var/run/{{ item.username }}
chown -R {{ item.username }}:{{ item.username }} /var/run/{{ item.username }}
end script
respawn
respawn limit 2 10
exec start-stop-daemon --start -c {{ item.username }} --exec /usr/local/bin/{{ item.service_name }} -- {{ item.args }}