summaryrefslogtreecommitdiff
path: root/script
AgeCommit message (Collapse)AuthorFilesLines
2013-06-19deb-systemd-helper: also remove statefiles when the service is disabledMichael Stapelberg1-1/+23
This will most likely change with the next commit, but makes things better for now.
2013-06-19add deb-systemd-invoke, a wrapper which respects (basic) policy.dMichael Stapelberg1-0/+85
2013-06-18dh_systemd_start: don’t start the same unit multiple timesMichael Stapelberg1-1/+1
2013-06-18error message: add whitespaces after dotsMichael Stapelberg1-2/+2
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 Stapelberg2-201/+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 Stapelberg2-112/+4
See previous commit.
2013-06-18deb-systemd-helper: store which files are enabled, disable them when disablingMichael Stapelberg1-15/+31
This allows us to not specify Also= and Alias= units on the commandline (e.g. deb-systemd-helper disable avahi-daemon.service \ avahi-daemon.socket dbus-org.freedesktop.Avahi.service). We want to have this as it is consistent with what systemctl does.
2013-06-18dh_systemd_start: strip .socket (like .service) when looking for sysv scriptsMichael Stapelberg1-1/+1
2013-06-17make --disable-in-prerm keep the postrm autoscript (works in addition now)Michael Stapelberg1-5/+5
This is necessary because otherwise the deletion of state files at purge time is not run.
2013-06-17deb-systemd-helper: only remove state file on purgeMichael Stapelberg1-2/+7
2013-06-17refactor step 6: split functionality into dh_systemd_{enable,disable}Michael Stapelberg2-160/+16
2013-06-17refactor step 5: split off dh_systemd_disableMichael Stapelberg1-0/+308
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 3: dh_systemd_start: don’t enable/disable servicesMichael Stapelberg1-122/+33
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 Stapelberg2-0/+301
2013-06-11add dh-systemd package, update changelogdebian/1.1Michael Stapelberg1-0/+301
2013-05-11deb-systemd-helper: also store enable state for already enabled unitsMichael Stapelberg1-6/+9
Otherwise, the remove/purge handling will not work properly for people who upgrade from an older version of some package with systemd support (e.g. nginx, rsyslog, …)
2013-05-10remove debug messageMichael Stapelberg1-2/+0
2013-05-10Imported Debian version 1.0Michael Stapelberg1-0/+251