2016-06-30 17:30:25 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Hyperion ambient light systemd service for OpenELEC/LibreELEC/RasPlex
|
|
|
|
After=graphical.target
|
2016-10-13 21:59:10 +02:00
|
|
|
After=network.target
|
2016-06-30 17:30:25 +02:00
|
|
|
|
|
|
|
[Service]
|
2016-10-13 21:59:10 +02:00
|
|
|
WorkingDirectory=/storage/hyperion/bin/
|
|
|
|
Environment=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
|
|
|
|
ExecStart=./hyperiond /storage/.config/hyperion/hyperion.config.json
|
|
|
|
TimeoutStopSec=5
|
|
|
|
KillMode=mixed
|
2019-01-19 18:35:40 +01:00
|
|
|
Restart=on-failure
|
2016-06-30 17:30:25 +02:00
|
|
|
RestartSec=2
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|