1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-06-05 22:19:21 +02:00

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

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