How to support both systemd and initd?

Guillaume Boudrias gboudrias at praxis.coop
Thu Sep 24 21:21:00 BST 2015


Hi!

I've been fiddling with the debian package for a few weeks to try and
figure out how to support both systemd and initd (since we want to
support both Wheezy and Jessie).

I searched high and low but the only documentation I found was this:
https://people.debian.org/~stapelberg/debconf13-making-your-package-work-with-systemd.pdf

And it seemed insufficient. Does anyone have anymore documentation on
how to take a package with an initd script and make it systemd-compatible?

Better yet, if anyone would be willing to look at our package it would
be much appreciated: http://cgit.drupalcode.org/provision/tree/debian

We tried simply adding --with systemd to the rules but as expected it's
not enough:
http://cgit.drupalcode.org/provision/commit/debian?id=f5031a71aa1d730e8c77b630b02ef31769edb5c1
(previous commit added a .service file)

Thanks,
-- 
Guillaume Boudrias
Praxis Laboratories Coop
http://praxis.coop

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150924/9cdb1680/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list