Skip to content

Commit

Permalink
Update meshtasticd.service (#5118)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yNosGR authored Oct 22, 2024
1 parent 4416ac5 commit 3f1c86f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/meshtasticd.service
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[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
WantedBy=multi-user.target

0 comments on commit 3f1c86f

Please sign in to comment.