/usr/share/tripleo-image-elements/qpidd/install.d/20-qpidd is in python-tripleo-image-elements 0.7.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/bin/bash
install-packages qpidd qpid-tools qpid-client
function install_qpidd_upstart {
cat > /etc/init/qpidd.conf << eof
start on runlevel [2345]
stop on runlevel [016]
respawn
respawn limit 2 5
script
exec qpidd --config=/etc/qpid/qpidd.conf
end script
post-start exec sleep 1
eof
}
if [ "$DIB_INIT_SYSTEM" == "upstart" ]; then
install_qpidd_upstart
fi
|