This commit is contained in:
2026-04-22 14:29:37 +02:00
parent 71cbc78cb7
commit 2a8815a6bd
4 changed files with 188 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
[Unit]
Description=Fleet Control - Remote Node Agent
After=network.target
[Service]
Type=simple
# Agent must be run as root for services restart (MMDVMHost etc.) and use GPIO
User=root
WorkingDirectory=/opt/node_agent
ExecStart=/usr/bin/python3 /opt/node_agent/system_monitor.py
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
+19
View File
@@ -0,0 +1,19 @@
[Unit]
Description=Fleet Control Console - Central Hub
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/web-control
ExecStart=/usr/bin/python3 /opt/web-control/app.py
Restart=always
RestartSec=5
# Ottimizzazioni per la gestione dei log
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=fleet-console
[Install]
WantedBy=multi-user.target