dh-systemd – debhelper add-on to handle systemd unit files

dh-systemd provides a debhelper sequence addon named ‘systemd’ and the dh_systemd_enable/dh_systemd_start commands.

The dh_systemd_enable command adds the appropriate code to the postinst, prerm and postrm maint scripts to properly enable/disable systemd service files. The dh_systemd_start command deals with start/stop/restart on upgrades for systemd-only service files.

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 7.0 (wheezy)   1.18~nd70+1 i386, amd64, sparc, armel
Debian GNU/Linux 8.0 (jessie) 1.22 1.18~nd80+1 i386, amd64, sparc, armel
Debian GNU/Linux 9.0 (stretch) 1.48 1.18~nd80+1+nd90+1 i386, amd64, sparc, armel
Debian testing (buster) 1.51    
Debian unstable (sid) 1.51 1.18~nd+1 i386, amd64, sparc, armel
Ubuntu 12.04 LTS “Precise Pangolin” (precise)   1.18~nd12.04+1 i386, amd64, sparc
Ubuntu 14.04 “Trusty Tahr” (trusty) 1.14 1.18~nd13.10+1+nd14.04+1 i386, amd64, sparc
Ubuntu 16.04 “Xenial Xerus” (xenial) 1.29ubuntu1    
Ubuntu 17.10 “Artful Aardvark” (artful) 1.49ubuntu1    
Ubuntu 18.04 “Bionic Beaver” (bionic) 1.51    


blog comments powered by Disqus