Packaging for sysv (<=Wheezy) and systemd (>=Jessie)

Tollef Fog Heen tfheen at err.no
Wed Dec 3 14:19:55 GMT 2014


]] Thilo Fromm 

> Is there a standard/generic way to build a .deb package which includes
> both sysv-init and systemd configurations? I'd like to provide a package
> that works with both Debian <= 7 and Debian >=8.
> https://wiki.debian.org/systemd/Packaging doesn't discuss this.

Just ship both a .service file and a init script.  Make sure they have
the same name and the .service file will override the init script.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are




More information about the Pkg-systemd-maintainers mailing list