Bug#760168: dh-systemd: support for -X option
Michael Stapelberg
stapelberg at debian.org
Tue Sep 2 08:34:40 BST 2014
Did you try whether it actually works already?
In dh_compress and dh_fixperms I see -X is documented but I don’t see
special code to support it. Given that dh_systemd_* also use the same
Debhelper library functions that those other two examples use, I think
it should already just work…?
On Mon, Sep 1, 2014 at 4:32 PM, Simon McVittie <smcv at debian.org> wrote:
> 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
>
> _______________________________________________
> Pkg-systemd-maintainers mailing list
> Pkg-systemd-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
--
Best regards,
Michael
More information about the Pkg-systemd-maintainers
mailing list