Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-24 | add test for deb-systemd-helper disable | Michael Stapelberg | 1 | -0/+8 | |
2013-07-24 | update files atomically to be more robust when being cancelled | Michael Stapelberg | 1 | -15/+33 | |
2013-07-24 | dh_systemd_enable: deal with changes in the [Install] section | Michael Stapelberg | 3 | -12/+24 | |
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-24 | update testsuite to also cover more complex units and updates | Michael Stapelberg | 3 | -7/+240 | |
Updates that add new service files or remove existing ones are now also tested (using update-state). Furthermore, the Also= and Alias= statements in unit files are now tested, too. | |||||
2013-07-24 | refactor; implement update-state | Michael Stapelberg | 1 | -49/+83 | |
2013-07-24 | Bugfix: Open the file for reading and appending, seek to the beginning | Michael Stapelberg | 1 | -1/+2 | |
Otherwise, duplicate entries will end up in the state file. This bugfix was brought to you by the new test suite \o/. | |||||
2013-07-23 | deb-systemd-helper: implement debian-installed command | Michael Stapelberg | 1 | -2/+19 | |
2013-07-23 | deb-systemd-helper: implement was-enabled | Michael Stapelberg | 2 | -1/+200 | |
2013-07-23 | remove inaccurate statement about systemctl requiring a running systemd | Michael Stapelberg | 1 | -2/+1 | |
2013-07-23 | add README for the test cases | Michael Stapelberg | 1 | -0/+10 | |
2013-07-23 | add test case for deb-systemd-helper | Michael Stapelberg | 1 | -0/+137 | |
2013-07-16 | use pod2man and install manpages, update changelogdebian/1.7 | Michael Stapelberg | 5 | -1/+18 | |
2013-07-16 | Drop dependency on libmodule-install-perl (Closes: #716929) | Jeremy Bicha | 4 | -32/+7 | |
2013-07-15 | Fix syntax error in dh_systemd_startdebian/1.6 | Michael Stapelberg | 2 | -1/+6 | |
2013-07-14 | bump dependency on i-s-h for --quietdebian/1.5 | Michael Stapelberg | 1 | -1/+1 | |
2013-07-14 | dh_systemd_start: add --no-start | Michael Stapelberg | 2 | -1/+8 | |
2013-07-14 | update changelog | Michael Stapelberg | 1 | -1/+3 | |
2013-07-14 | dh_systemd_enable: add --no-enable, deb-systemd-helper: add --quiet | Michael Stapelberg | 3 | -5/+34 | |
The latter is necessary to make the former work without confusing users :). | |||||
2013-07-01 | deb-systemd-helper: clean up /var/lib/systemd/deb-systemd-helper-enabled and ↵ | Michael Stapelberg | 2 | -0/+29 | |
/etc/systemd to pass a piuparts run. | |||||
2013-06-27 | update changelog, bump dependency in dh_systemd_enabledebian/1.4 | Michael Stapelberg | 2 | -1/+8 | |
2013-06-27 | Bugfix: ensure state directory exists before writing to it (Thanks uau, bigon) | Michael Stapelberg | 1 | -0/+1 | |
2013-06-26 | deb-systemd-invoke: remove wrong documentation (copy & paste mistake) | Michael Stapelberg | 1 | -5/+0 | |
2013-06-26 | init-system-helpers: add Breaks: systemd (<< 44-12) | Michael Stapelberg | 1 | -0/+1 | |
This ensures that on updates from stable, at least systemd 44-12 is present, which is the first version where the old trigger gained support for checking whether i-s-h is installed. | |||||
2013-06-19 | update package description to reflect dh_systemd_* splitdebian/1.3 | Michael Stapelberg | 1 | -4/+5 | |
2013-06-19 | update changelog | Michael Stapelberg | 1 | -0/+11 | |
2013-06-19 | document debug env variable | Michael Stapelberg | 1 | -0/+12 | |
2013-06-19 | dh_systemd_enable: bump dependency on init-system-helper to make bugfixes ↵ | Michael Stapelberg | 1 | -1/+1 | |
available | |||||
2013-06-19 | deb-systemd-helper: always store .dsh-also state, not only when creating links | Michael Stapelberg | 1 | -4/+18 | |
2013-06-19 | deb-systemd-helper: delete state file on remove if user didn’t disable service | Michael Stapelberg | 1 | -2/+6 | |
This makes dpkg -i, dpkg -r, dpkg -i work correctly. Before, the user would end up with a disabled service. | |||||
2013-06-19 | deb-systemd-handler: replicate /etc/systemd/system in state dir | Michael Stapelberg | 1 | -45/+35 | |
…instead of using the basename of the file. The state handling got really messy, so this commit cleans it up. Also, introduce a debug mechanism by looking for _DEB_SYSTEMD_HELPER_DEBUG=1 in the environment. | |||||
2013-06-19 | deb-systemd-helper: also remove statefiles when the service is disabled | Michael Stapelberg | 1 | -1/+23 | |
This will most likely change with the next commit, but makes things better for now. | |||||
2013-06-19 | add deb-systemd-invoke, a wrapper which respects (basic) policy.d | Michael Stapelberg | 7 | -4/+92 | |
2013-06-18 | update changelogdebian/1.2 | Michael Stapelberg | 1 | -1/+4 | |
2013-06-18 | dh_systemd_start: don’t start the same unit multiple times | Michael Stapelberg | 1 | -1/+1 | |
2013-06-18 | add systemctl daemon-reload to handle the systemd-only use case | Michael Stapelberg | 2 | -0/+2 | |
2013-06-18 | error message: add whitespaces after dots | Michael Stapelberg | 1 | -2/+2 | |
2013-06-18 | depend on init-system-helpers >= 1.2 due to behavioral changes | Michael Stapelberg | 1 | -1/+1 | |
2013-06-18 | makefile: bump version | Michael Stapelberg | 1 | -1/+1 | |
2013-06-18 | remove dh_systemd_disable, this edge case will be handled in maintscripts | Michael Stapelberg | 5 | -208/+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-18 | dh_systemd_{enable,disable}: don’t pass Also= and Alias= units on the cmdline | Michael Stapelberg | 2 | -112/+4 | |
See previous commit. | |||||
2013-06-18 | deb-systemd-helper: store which files are enabled, disable them when disabling | Michael Stapelberg | 1 | -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-18 | dh_systemd_start: strip .socket (like .service) when looking for sysv scripts | Michael Stapelberg | 1 | -1/+1 | |
2013-06-17 | make --disable-in-prerm keep the postrm autoscript (works in addition now) | Michael Stapelberg | 1 | -5/+5 | |
This is necessary because otherwise the deletion of state files at purge time is not run. | |||||
2013-06-17 | deb-systemd-helper: only remove state file on purge | Michael Stapelberg | 3 | -3/+15 | |
2013-06-17 | delete now unused autoscripts | Michael Stapelberg | 3 | -21/+0 | |
2013-06-17 | refactor step 6: split functionality into dh_systemd_{enable,disable} | Michael Stapelberg | 2 | -160/+16 | |
2013-06-17 | refactor step 5: split off dh_systemd_disable | Michael Stapelberg | 4 | -0/+315 | |
2013-06-17 | dh_systemd_enable: add --disable-in-prerm, add autoscript() hack | Michael Stapelberg | 1 | -2/+82 | |
2013-06-17 | update dh-systemd.install | Michael Stapelberg | 1 | -2/+4 | |
2013-06-17 | update changelog | Michael Stapelberg | 1 | -0/+9 | |