hyperion.ng/bin/service/hyperion.systemd.sh
brindosch 357790c84c cleanup and addition
Former-commit-id: b47e5b99eb535aa98b90dfb111618c0055b00993
2016-03-13 13:55:56 +01:00

15 lines
272 B
Bash

[Unit]
Description=Hyperion Systemd service
[Service]
Type=simple
User=root
Group=root
UMask=007
ExecStart=/opt/hyperion/bin/hyperiond /etc/hyperion.config.json
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
TimeoutStopSec=10
[Install]
WantedBy=multi-user.target