mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
02d055b75c
Former-commit-id: 2083ce117791e6ad22037f91618af917fe99d40b
17 lines
308 B
Bash
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 |