mirror of
https://github.com/linuxserver/libreelec-addon-repo.git
synced 2026-02-20 01:00:59 +08:00
19 lines
430 B
Desktop File
19 lines
430 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
|
|
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=10s
|
|
StartLimitInterval=86400
|
|
StartLimitBurst=3
|
|
TimeoutStartSec=0
|
|
ExecStart=/bin/sh /storage/.kodi/addons/%p/bin/%p
|
|
ExecStop=/storage/.kodi/addons/service.system.docker/bin/docker kill %p
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|