mirror of
https://github.com/linuxserver/libreelec-addon-repo.git
synced 2026-01-14 16:32:09 +08:00
Deprecate letsencrypt, pi-hole, portainer and photoshow Optimize systemd services to not delay kodi start Specify python3 for xml generator
21 lines
488 B
Desktop File
21 lines
488 B
Desktop File
[Unit]
|
|
Description=%p container
|
|
Requires=service.system.docker.service
|
|
After=service.system.docker.service
|
|
Requires=network-online.service
|
|
After=network-online.service
|
|
Requires=docker.linuxserver.updater.service
|
|
After=docker.linuxserver.updater.service
|
|
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=10s
|
|
StartLimitInterval=86400
|
|
StartLimitBurst=3
|
|
TimeoutStartSec=0
|
|
ExecStart=/bin/sh /storage/.kodi/addons/%p/bin/%p
|
|
ExecStop=/bin/sh /storage/.kodi/addons/%p/bin/stop
|
|
|
|
[Install]
|
|
WantedBy=kodi.target
|