summaryrefslogtreecommitdiff
path: root/script/dh_systemd_enable
AgeCommit message (Collapse)AuthorFilesLines
2014-05-13init-system-helpers (1.18+dyson1) unstable; urgency=mediumHEADdyson/1.18+dyson1masterIgor Pashev1-0/+10
* Package for Dyson * deb-systemd-helper and deb-systemd-invoke work only on Linux; on other archs they do nothing and return 0 * dh_systemd_enable and dh_systemd_start work only for Linux; for other archs they do nothing and return 0
2014-02-25bump generated dependency to 1.18~ to use the “purge” verbMichael Stapelberg1-1/+1
2013-12-25dh_systemd_{enable,start}: don’t treat symlinks as unitsMichael Stapelberg1-0/+4
For the rare case where a unit is not a plain file, but a symlink to some other file (I can’t imagine a legitimate use for that), explicitly pass the unit’s name as argument for a quick workaround and write a bugreport.
2013-11-11Install debian/$package.socket files, just like .service filesMichael Stapelberg1-0/+10
They will get enabled when they have an [Install] section. Some special handling for .socket files when upgrading might be necessary at some point in time. We’ll see how it goes. Closes: #718592
2013-11-06update changelog, bump dependencydebian/1.13Michael Stapelberg1-1/+1
2013-10-27dh_systemd: lower generated dependency from 1.11 to 1.11~Michael Stapelberg1-1/+1
This makes packages installable on wheezy-backports, where the version of i-s-h is 1.11~bpo70 instead of 1.11. $ dpkg --compare-versions '1.11~bpo70' '>=' '1.11' && echo yes || echo no no $ dpkg --compare-versions '1.11~bpo70' '>=' '1.11~' && echo yes || echo no yes
2013-09-20update changelog, bump dependencydebian/1.11Michael Stapelberg1-1/+1
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