hyperion.ng/bin/hyperion.systemd.sh
penfold42 9280078cf0 Revert "Merge pull request #7 from tvdzwan/master"
This reverts commit ae218b85ff [formerly b57904d64f0fbdd2e97f0326de4378489206e357], reversing
changes made to cda2232080 [formerly 6949fe847d9c4181c924a13ed0715ecd71b98499].


Former-commit-id: 0261bc7735663dba45681a5c0e4026b4c1fddeba
2016-03-22 23:24:34 +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