aboutsummaryrefslogtreecommitdiffstats
path: root/testing/triggerhappy/triggerhappy.initd
blob: ac707e927cdcfd0dd0a79497510f91497c1f275f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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"

depend() {
	before udev
}