[Unit]
Description=Hyperion service
After=graphical.target
ConditionPathExists=/storage/.kodi/userdata/addon_data/service.hyperion/hyperion.config.json

[Service]
ExecStart=/bin/sh -c "exec sh /storage/.kodi/addons/service.hyperion/bin/hyperiond.start"
TimeoutStopSec=2
Restart=always
RestartSec=10
StartLimitInterval=0

[Install]
WantedBy=default.target
