Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-16 | Make dh_installsystemd a no-op on non-linux | Igor Pashev | 1 | -0/+7 | |
2018-10-28 | dh_installsystemd: Refactor to suport new maintscripts actions easier | Fabian Grünbichler | 1 | -7/+14 | |
Extracted from MR !14. Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-10-28 | dh_installsystemd.1: Improve docs about --name | Niels Thykier | 1 | -6/+22 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-09-14 | dh_*: Add cli-options NOOP PROMISES for most helpers | Niels Thykier | 1 | -1/+1 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-09-03 | dh_installsystemd: Run postrm-systemd-reload-only later | Niels Thykier | 1 | -2/+4 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-09-03 | Make dh_install{init,systemd}'s autoscripts independent [c12] | Niels Thykier | 1 | -1/+4 | |
Have dh_installinit use the new --skip-systemd-native parameter and let dh_installsystemd always generate autoscript snippets for systemd services. This ensures that dh_installsystemd's snippet will be used for starting the services and will among other ensure that services are properly unmasked before started. Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-08-08 | dh_installinit.1, dh_installsystemd.1: Fix typos | Juhani Numminen | 1 | -1/+1 | |
2018-06-20 | dh_installsystemd: Fix handling of symlinked alias units, add relevant tests | Daniele Nicolodi | 1 | -1/+2 | |
2018-06-20 | dh_installsystemd: Fix --name option handling | Daniele Nicolodi | 1 | -1/+1 | |
The last section of the helper generates maintainer scripts code blocks for mount, path, service, socket, target, and timer units. The filtering associated to the --name option incorrectly looks for file names with a ".tmpfile" suffix and not for a ".timer" suffix. Fix it. | |||||
2018-06-20 | dh_installsystemd: Fix handling of the undocumented --no-also option | Daniele Nicolodi | 1 | -6/+7 | |
The --no-also option not only affected handling of the Also= directive but also inhibited handling of the Alias= directive. Fix it. Add a few comments. | |||||
2018-06-20 | dh_installsystemd: Improve error reporting if unit file is not found | Daniele Nicolodi | 1 | -3/+5 | |
2018-06-20 | dh_installsystemd: Code cleanup, no functional changes | Daniele Nicolodi | 1 | -82/+79 | |
2018-06-16 | dh_installsystemd: Simplify | Daniele Nicolodi | 1 | -47/+41 | |
Simplify and move to a function the code responsible to list all installed units. It is much simpler to refer to unit files simply as their file name without keeping track of their complete path as the later can be readily computed because all unit files must be installed into usr/lib/systemd/system. This removes some confusion and highlight a bug where code blocks for handling units installed at the wrong location would be emitted if relative file paths were specified on the command line. Fix the tests accordingly. | |||||
2018-06-16 | dh_installsystemd: Simplify error handling | Daniele Nicolodi | 1 | -16/+0 | |
The intention was to carry on all possible work and report missing unit files specified on the command line at the end of execution. However, now the scripts fails immediately when it tries to read the content of the unit filed and the late check is never executed. Remove the late check. | |||||
2018-06-16 | dh_installsystemd: Refactor | Daniele Nicolodi | 1 | -31/+48 | |
Make code easier to grock by splitting operation into three phases. The number of binary packages should be small. Iterating three times through their names should not impact performances. | |||||
2018-06-13 | dh_installsystemd: Improve man page | Daniele Nicolodi | 1 | -52/+46 | |
2018-05-11 | Pass the basename of the tmpfiles to "systemd-tmpfiles --create" | Niels Thykier | 1 | -2/+1 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-01-03 | dh_installsystemd: Fix NOOP PROMISE | Niels Thykier | 1 | -1/+1 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2018-01-03 | dh_install{init,systemd}: Re-order service autosnippets | Niels Thykier | 1 | -3/+8 | |
Depends on e6870ceafb9d51800de86a7106cdfb4ce9c9dad8 Closes: Debian#885998, #885998 Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-12-16 | dh_installsystemd: Enable dh_installsystemd in old compat levels | Niels Thykier | 1 | -2/+0 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-11-10 | dh_installsystemd: Avoid invalid scripts when there are no units | Felipe Sateler | 1 | -32/+34 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-11-10 | Revert "dh_installsystemd: Avoid invalid scripts when there are no units" | Niels Thykier | 1 | -12/+9 | |
This reverts commit 86d05e41e4549ca01aa27ebf12f68da84b2d45fd. | |||||
2017-11-09 | dh_installsystemd: Avoid invalid scripts when there are no units | Niels Thykier | 1 | -9/+12 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-11-04 | dh_installsystemd: Optimize the tmpfiles search | Niels Thykier | 1 | -5/+3 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-11-04 | dh_installsystemd: Fix incorrect error for "missing" files | Niels Thykier | 1 | -0/+16 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-14 | Include $! in error messages | Niels Thykier | 1 | -2/+2 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | dh_installsystemd: if --name is given, only generate maintainer scripts for ↵ | Felipe Sateler | 1 | -1/+13 | |
matching files Closes: #870768 | |||||
2017-10-13 | dh_installsystemd: Properly quote unit names in autoscripts | Niels Thykier | 1 | -3/+3 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | Remove duplicate additions to @installed_units | Felipe Sateler | 1 | -1/+0 | |
2017-10-13 | dh_installsystemd: Generate postinst for tmpfiles | Niels Thykier | 1 | -4/+21 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | dh_installsystemd: Make open failure a hard error | Niels Thykier | 1 | -13/+6 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | dh_installsystemd: Drop now unnecessary dependency on init-system-helpers | Niels Thykier | 1 | -4/+0 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | dh_installsystemd: Fix bug in handling of template units (see aaf90aff) | Niels Thykier | 1 | -8/+6 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | Fix enabling multiple times of units | Felipe Sateler | 1 | -1/+1 | |
2017-10-13 | dh_installsystemd: Regex-escape two directories used in regexes | Niels Thykier | 1 | -2/+2 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | dh_installsystemd: Update documentation | Niels Thykier | 1 | -8/+37 | |
Signed-off-by: Niels Thykier <niels@thykier.net> | |||||
2017-10-13 | Add dh_installsystemd script with a simple test | Felipe Sateler | 1 | -0/+351 | |