Bug#760168: dh-systemd: support for -X option

Simon McVittie smcv at debian.org
Mon Sep 1 15:32:16 BST 2014


Package: dh-systemd
Version: 1.21
Severity: wishlist

debhelper(7) says:

COMMON DEBHELPER OPTIONS
       The following command line options are supported by some debhelper
       programs [...]
       -Xitem, --exclude=item
           Exclude an item from processing. This option may be used multiple
           times, to exclude more than one thing.

It would be nice if dh_systemd_start and dh_systemd_enable supported the
-X option, so that maintainers of a package with some normal services
and a smaller number of special-purpose services that should not normally
be enabled (similar to systemd's own debug-shell.service) could just
list the exceptions:

override_dh_systemd_enable:
	dh_systemd_enable -Xdebug-thing.service

override_dh_systemd_start:
	dh_systemd_start -Xdebug-thing.service

Regards,
    S



More information about the Pkg-systemd-maintainers mailing list