Skip to content
Snippets Groups Projects
Commit 9f9bb30e authored by Guido Günther's avatar Guido Günther
Browse files

Move renaming of the service files prior to the dh_systemd_* helpers

so they pick up the right service name.
parent 9854fa9a
No related branches found
No related tags found
No related merge requests found
......@@ -116,11 +116,11 @@ binary-install/libvirt-bin::
debian/libvirt-bin.libvirt-guests.init
cp tools/libvirt-guests.sysconf \
debian/libvirt-bin.libvirt-guests.default
dh_systemd_enable
dh_installinit --name=libvirt-guests --no-restart-on-upgrade -- defaults 29 71
-mv debian/libvirt-bin/lib/systemd/system/libvirtd.service \
debian/libvirt-bin/lib/systemd/system/libvirt-bin.service
dh_systemd_start
dh_systemd_enable
dh_installinit --name=libvirt-guests --no-restart-on-upgrade -- defaults 29 71
dh_systemd_start --restart-after-upgrade
rm debian/libvirt-bin/usr/lib/libvirt/connection-driver/*.la
for l in $(LOGROTATE); do \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment