MycroftOS: Limit the restart of the wifi-connect service.

This commit is contained in:
j1nx 2020-07-27 16:51:00 +02:00
parent e05927016c
commit 68f6156a87
1 changed files with 3 additions and 0 deletions

View File

@ -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