Comment 12 for bug 1840347

Eric Desrochers (slashd) wrote :

Hopefully that should do the trick:

override_dh_installinit:
.....
- # Ensure Debian/Ubuntu specific systemd units are NOT automatically enabled and started
- # Enable systemd targets only
- dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X ceph-mds.service
- # Start systemd targets only
- dh_systemd_start --no-restart-on-upgrade

override_dh_systemd_enable:
- # systemd start done as part of dh_installinit
+ dh_systemd_enable -Xceph-mon.service -Xceph-osd.service -X ceph-mds.service

override_dh_systemd_start:
- # systemd start done as part of dh_installinit
+ dh_systemd_start --no-stop-on-upgrade --no-restart-after-upgrade