diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-28 12:57:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-28 12:59:39 +0000 |
commit | 540556b311c1f642969eb9e1259072696c8ee99f (patch) | |
tree | 43b7fa368224b88b6ffba538d3bcbbef471bb22e /testing/triggerhappy/triggerhappy.initd | |
parent | 8ac336d8c9b889ad571754b39b3f9da5e07a826b (diff) | |
download | aports-540556b311c1f642969eb9e1259072696c8ee99f.tar.bz2 aports-540556b311c1f642969eb9e1259072696c8ee99f.tar.xz |
testing/triggerhappy: new aport
A lightweight hotkey daemon
https://github.com/wertarbyte/triggerhappy
Diffstat (limited to 'testing/triggerhappy/triggerhappy.initd')
-rw-r--r-- | testing/triggerhappy/triggerhappy.initd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/triggerhappy/triggerhappy.initd b/testing/triggerhappy/triggerhappy.initd new file mode 100644 index 000000000..18b073cfb --- /dev/null +++ b/testing/triggerhappy/triggerhappy.initd @@ -0,0 +1,10 @@ +#!/sbin/runscript + +: ${socket:=/var/run/thd.socket} +: ${triggers:=/etc/triggerhappy/triggers.d} + +command=/usr/sbin/thd +pidfile=/var/run/thd.pid +command_args="--daemon --socket $socket --triggers $triggers $devices --pidfile $pidfile" + + |