triggerhappy: systemd support

[Thomas: use a relative symbolic link.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Alex Suykov
2015-05-23 13:14:07 +03:00
committed by Thomas Petazzoni
parent b7afea9500
commit 7ee5eb933d
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Triggerhappy daemon
[Service]
ExecStart=/usr/sbin/thd --triggers /etc/triggerhappy/triggers.d --socket /var/run/thd.socket --user nobody /dev/input/event*
Restart=always
[Install]
WantedBy=multi-user.target