Add MQTT handover controller and systemd installer
This commit is contained in:
commit
19446a7ebe
5 files changed
+322
No files matched your search
@@ -0,0 +1,28 @@
|
||||
# Zorruno — MeshCore Phone App Mode v1.0 — 2026-10-03
|
||||
[Unit]
|
||||
Description=MeshCore WebUI phone-app handover via MQTT
|
||||
After=network-online.target docker.service
|
||||
Wants=network-online.target docker.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
ExecStart=/opt/meshcore-phone-mode/venv/bin/python /opt/meshcore-phone-mode/controller.py --config /etc/meshcore-phone-mode.ini
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
TimeoutStopSec=50
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
Environment=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=strict
|
||||
ProtectKernelTunables=true
|
||||
ProtectKernelModules=true
|
||||
ProtectControlGroups=true
|
||||
RestrictSUIDSGID=true
|
||||
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
||||
UMask=0077
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user