mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
avahi: restart on failure.
... but do not try-restart forever
This commit is contained in:
parent
7671ddfe3d
commit
ec6715e24b
@ -2,14 +2,17 @@
|
||||
Description=Avahi Daemon
|
||||
After=network.target avahi-defaults.service
|
||||
Requires=avahi-defaults.service
|
||||
|
||||
ConditionPathExists=/storage/.cache/services/avahi.conf
|
||||
|
||||
[Service]
|
||||
Restart=on-failure
|
||||
EnvironmentFile=-/run/openelec/debug/avahi.conf
|
||||
ExecStart=/usr/sbin/avahi-daemon -s $AVAHI_DEBUG
|
||||
ExecReload=/usr/sbin/avahi-daemon -r
|
||||
TimeoutStopSec=1s
|
||||
RestartSec=2
|
||||
StartLimitInterval=60
|
||||
StartLimitBurst=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
x
Reference in New Issue
Block a user