Files
firmware/bin/meshtasticd.service
2148c6253a Fix native discovery recovery, retry backoff, and worker logging (#12142)
* Add native Portduino mDNS discovery via Avahi and Bonjour

* Guard native discovery in Portduino WASM builds

* Add linux dependencies in packaging, support "buildroot"

Adds libavahi dependencies for Debian, RPM, Docker and CI.
Moves the libavahi definition to the shared `build_flags` (which is only consumed on Linux targets)

* Fix platformio formatting

* fix(portduino): disable Avahi when daemon unavailable

* fix(portduino): retry native discovery and defer worker logs

* fix(portduino): preserve pending discovery warnings

---------

Co-authored-by: Jake-B <jake-b@users.noreply.github.com>
Co-authored-by: vidplace7 <vidplace7@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 22:21:23 +00:00

20 lines
452 B
Desktop File

[Unit]
Description=Meshtastic %i Daemon
# Ordering only: a missing avahi-daemon.service must not block startup.
After=network-online.target bluetooth.service avahi-daemon.service
Wants=bluetooth.service
StartLimitInterval=200
StartLimitBurst=5
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
User=meshtasticd
Group=meshtasticd
Type=simple
ExecStart=/usr/bin/meshtasticd-start.sh %i
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target