hyperion.ng/bin/service/hyperion.systemd.sh

16 lines
293 B
Bash
Raw Normal View History

[Unit]
Description=Hyperion ambient light systemd service
[Service]
Type=simple
User=hyperion
Group=hyperion
ExecStart=/usr/bin/hyperiond /etc/hyperion/hyperion.config.json
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=2
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target