2015-01-28 15:42 GMT+01:00 Michael Biebl <bi...@debian.org>:

Hello Michael,

Thanks for your quick response.

[...]
>
> Do you use dh-systemd/init-system-helpers to register your cdtb.service
> unit? It generates maintainer scripts code to ensure "systemctl
> daemon-reload" is called at the correct times.

I use dh_systemd with overrides:
http://anonscm.debian.org/cgit/pkg-samba/ctdb.git/tree/debian/rules

ctdb.postinst (in the .deb) ends up with only:

if [ -x "/etc/init.d/ctdb" ]; then
    update-rc.d ctdb defaults >/dev/null || exit $?
fi

and /etc/init.d/ctdb is indeed executable (Is it on your machine Martin?).

It seems that update-rc.d calls dameon-reload in some circumstances.
Or should ctdb.postinst call it directly?

Regards

Mathieu Parent


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to