Remove the systemctl daemon-reload commands

These aren't needed during an image build and keep getting
copied each time a new service unit is added.

Change-Id: I498a229b69e78a3eca06bf8691c13157ecd6739d
This commit is contained in:
Derek Higgins 2013-11-20 09:04:05 +00:00
parent cc4f8b3d09
commit 16165ff827
5 changed files with 0 additions and 15 deletions

View File

@ -56,9 +56,6 @@ WantedBy=multi-user.target
Alias=nova-bm-dnsmasq.service
eof
# Make systemd take notice of it
systemctl daemon-reload
# Enable the service
systemctl enable nova-bm-dnsmasq.service

View File

@ -34,9 +34,6 @@ Restart=on-failure
WantedBy=multi-user.target
eof
# Make systemd take notice of it
systemctl daemon-reload
# Enable the service
systemctl enable os-collect-config.service

View File

@ -143,9 +143,6 @@ ExecStartPre=/bin/mkdir -p /var/run/$user
ExecStart=/bin/chown -R $user:$user /var/run/$user
EOF
# Make systemd take notice of it
systemctl daemon-reload
# Enable the service
systemctl enable $name.service
}

View File

@ -26,9 +26,6 @@ if [ "$DIB_INIT_SYSTEM" == "systemd" ]; then
# Respawn rabbitmq-server in case the process exits with an nonzero exit code
sed -i 's/\[Service\]/\[Service\]\nRestart=on-failure/g' /lib/systemd/system/rabbitmq-server.service
# Make systemd take notice of it
systemctl daemon-reload
# Enable the service
systemctl enable rabbitmq-server.service
fi

View File

@ -24,9 +24,6 @@ Restart=on-failure
WantedBy=multi-user.target
eof
# Make systemd take notice of it
systemctl daemon-reload
# Enable the service
systemctl enable tripleo-cd.service