Package: triggerhappy Version: 0.5.0-1 Followup-For: Bug #849594 Hello,
sending a patch for the triggerhappy service file which adds the ability to read options from /etc/default/triggerhappy --- /lib/systemd/system/triggerhappy.service 2016-08-30 09:26:25.000000000 +0200 +++ /etc/systemd/system/triggerhappy.service 2016-12-29 20:12:51.662411251 +0100 @@ -4,7 +4,9 @@ [Service] Type=notify -ExecStart=/usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* +EnvironmentFile=-/etc/default/triggerhappy +ExecStart=/usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* $DAEMON_OPTS + [Install] WantedBy=multi-user.target -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (990, 'stable'), (500, 'oldstable'), (171, 'unstable'), (151, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages triggerhappy depends on: ii init-system-helpers 1.46 ii libc6 2.24-5 ii libsystemd0 232-6 triggerhappy recommends no packages. triggerhappy suggests no packages. -- Configuration Files: /etc/default/triggerhappy changed: DAEMON_OPTS="--user root" -- no debconf information
--- /lib/systemd/system/triggerhappy.service 2016-08-30 09:26:25.000000000 +0200 +++ /etc/systemd/system/triggerhappy.service 2016-12-29 20:12:51.662411251 +0100 @@ -4,7 +4,9 @@ [Service] Type=notify -ExecStart=/usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* +EnvironmentFile=-/etc/default/triggerhappy +ExecStart=/usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event* $DAEMON_OPTS + [Install] WantedBy=multi-user.target