hyperion.ng/bin/service/hyperion.systemd.sh
penfold42 ff2a1038a0 Revert "Revert "Merge pull request #7 from tvdzwan/master""
This reverts commit 9280078cf0 [formerly 0261bc7735663dba45681a5c0e4026b4c1fddeba].


Former-commit-id: e2850cd34a48bcccaa887a33ff7bf06e0a25c904
2016-03-22 23:28:04 +11: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