6840c963a2
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
11 lines
343 B
Django/Jinja
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 }}
|