mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
48d8781cdf
* - remove feature of using multiple config files for automaticly start other hyperion instances - add auto config file creation - tune service files * add auto path creation for initial default config * debian package: rename service to hyperiond remove copy of config file
17 lines
395 B
Bash
17 lines
395 B
Bash
[Unit]
|
|
Description=Hyperion ambient light systemd service for OpenELEC/LibreELEC/RasPlex
|
|
After=graphical.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
WorkingDirectory=/storage/hyperion/bin/
|
|
Environment=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
|
|
ExecStart=./hyperiond /storage/.config/hyperion/hyperion.config.json
|
|
TimeoutStopSec=5
|
|
KillMode=mixed
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=default.target
|