mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 02:09:57 +00:00
3f1c86f953
Adding restart on service failure with 3 seconds between restart to stop fasst restart loops. Adding StartLimitBurst to limit it to 5 restarts in 200 seconds.
17 lines
255 B
Desktop File
17 lines
255 B
Desktop File
[Unit]
|
|
Description=Meshtastic Native Daemon
|
|
After=network-online.target
|
|
StartLimitInterval=200
|
|
StartLimitBurst=5
|
|
|
|
[Service]
|
|
User=root
|
|
Group=root
|
|
Type=simple
|
|
ExecStart=/usr/sbin/meshtasticd
|
|
Restart=always
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|