mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Merged branch master into master
This commit is contained in:
12
bin/service/hyperion.systemd.OE.LE.sh
Normal file
12
bin/service/hyperion.systemd.OE.LE.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Hyperion ambient light systemd service for OpenELEC/LibreELEC/RasPlex
|
||||
After=graphical.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/sh -c "exec sh /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion/hyperion.config.json"
|
||||
TimeoutStopSec=2
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
@@ -1,15 +1,15 @@
|
||||
[Unit]
|
||||
Description=Hyperion Systemd service
|
||||
Description=Hyperion ambient light systemd service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
UMask=007
|
||||
User=hyperion
|
||||
Group=hyperion
|
||||
ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
TimeoutStopSec=10
|
||||
TimeoutStopSec=2
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user