Custom service file is not needed for qpidd on systemd based hosts
Change-Id: I788f8c0a55f06e8dbb923e2ae867aa9def350ede
This commit is contained in:
parent
bbc2ae852c
commit
f21444ce2f
@ -17,18 +17,6 @@ post-start exec sleep 1
|
||||
eof
|
||||
}
|
||||
|
||||
function install_qpidd_systemd {
|
||||
cat > /etc/systemd/system/qpidd.service << eof
|
||||
.include /lib/systemd/system/qpidd.service
|
||||
[Unit]
|
||||
Before=rc-local.service
|
||||
Restart=on-failure
|
||||
eof
|
||||
}
|
||||
|
||||
|
||||
if [ "$DIB_INIT_SYSTEM" == "upstart" ]; then
|
||||
install_qpidd_upstart
|
||||
elif [ "$DIB_INIT_SYSTEM" == "systemd" ]; then
|
||||
install_qpidd_systemd
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user