hyperion.ng/bin/hyperion.initctl.sh
brindosch 02d055b75c Add the service files and new hyperion conf
Former-commit-id: 2083ce117791e6ad22037f91618af917fe99d40b
2016-03-08 18:20:09 +01:00

17 lines
308 B
Bash

## Hyperion daemon initctl script
description "hyperion"
author "poljvd & tvdzwan"
start on (runlevel [2345])
stop on (runlevel [!2345])
respawn
pre-start script
#comment out the following 2 lines for x32/64
modprobe spidev
/usr/bin/gpio2spi
end script
exec /usr/bin/hyperiond /etc/hyperion.config.json