[Unit]
Description=LCDProc
ConditionPathExists=|/storage/.cache/services/lcdd.conf
After=multi-user.target

[Service]
EnvironmentFile=-/storage/.cache/services/lcdd.conf
ExecStart=/bin/sh -c 'exec /usr/lib/openelec/lcd-wrapper'
TimeoutStopSec=1s
Restart=always
RestartSec=5
StartLimitInterval=30
StartLimitBurst=5

[Install]
WantedBy=multi-user.target
