summaryrefslogtreecommitdiff
path: root/script/dh_systemd_enable
AgeCommit message (Collapse)AuthorFilesLines
2013-09-19update changelog, bump dependency on i-s-hMichael Stapelberg1-1/+1
2013-09-18bump dependency on i-s-hdebian/1.9Michael Stapelberg1-1/+1
2013-09-14dh_systemd_enable: skip unit files without an [Install] sectionMichael Stapelberg1-0/+18
fixes #721241
2013-08-27dh_systemd_enable: document debian/package.{service,tmpfile}Michael Stapelberg1-0/+17
While these files are installed in dh_installinit for historic reasons, many people are looking for documentation in dh_systemd_enable. And they are not completely wrong, since dh_systemd_enable needs to install these files anyway, and will be the only script to do so in the future.
2013-07-25bump dependency on i-s-hdebian/1.8Michael Stapelberg1-1/+1
2013-07-24dh_systemd_enable: use basename of the unit filesMichael Stapelberg1-2/+3
2013-07-24dh_systemd_enable: deal with changes in the [Install] sectionMichael Stapelberg1-4/+6
autoscripts/postinst-systemd-dont-enable now uses update-state instead of enable/disable which fixes accidental re-disabling of services. Both autoscripts call enable to create new symlinks, if necessary. Both autoscripts call update-state in case the service is not enabled in order to update the state file so that all service files will be removed on purge. See also http://bugs.debian.org/#717603
2013-07-14bump dependency on i-s-h for --quietdebian/1.5Michael Stapelberg1-1/+1
2013-07-14dh_systemd_enable: add --no-enable, deb-systemd-helper: add --quietMichael Stapelberg1-3/+19
The latter is necessary to make the former work without confusing users :).
2013-06-27update changelog, bump dependency in dh_systemd_enabledebian/1.4Michael Stapelberg1-1/+1
2013-06-19dh_systemd_enable: bump dependency on init-system-helper to make bugfixes ↵Michael Stapelberg1-1/+1
available
2013-06-18depend on init-system-helpers >= 1.2 due to behavioral changesMichael Stapelberg1-1/+1
2013-06-18remove dh_systemd_disable, this edge case will be handled in maintscriptsMichael Stapelberg1-2/+3
To clarify: the edge case is that there is a socket-activated service which has a name for the .socket file that diverges from the basename of the init script. In our case, that is syslog.socket vs. /etc/init.d/rsyslog.
2013-06-18dh_systemd_{enable,disable}: don’t pass Also= and Alias= units on the cmdlineMichael Stapelberg1-52/+2
See previous commit.
2013-06-17refactor step 6: split functionality into dh_systemd_{enable,disable}Michael Stapelberg1-96/+3
2013-06-17dh_systemd_enable: add --disable-in-prerm, add autoscript() hackMichael Stapelberg1-2/+82
2013-06-17refactor step 4: dh_systemd_enable: update docs, remove useless flagsMichael Stapelberg1-71/+27
2013-06-17refactor step 2: dh_systemd_enable: install $package.service and enable unit ↵Michael Stapelberg1-99/+70
files
2013-06-17refactor step 1: copy dh_systemd to dh_systemd_{enable,start}Michael Stapelberg1-0/+301