MycroftOS: Limit the restart of the wifi-connect service.
This commit is contained in:
parent
e05927016c
commit
68f6156a87
|
@ -1,11 +1,14 @@
|
|||
[Unit]
|
||||
Description=Mycroft wifi connect service
|
||||
After=NetworkManager.service
|
||||
StartLimitInterval=200
|
||||
StartLimitBurst=5
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/sbin/start-wifi-connect
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue