Update systemd/fleet-agent.service
This commit is contained in:
@@ -6,7 +6,7 @@ After=network.target
|
|||||||
Type=simple
|
Type=simple
|
||||||
# Agent must be run as root for services restart (MMDVMHost etc.) and use GPIO
|
# Agent must be run as root for services restart (MMDVMHost etc.) and use GPIO
|
||||||
User=root
|
User=root
|
||||||
WorkingDirectory=/opt/node_agent
|
WorkingDirectory=/opt/fleet-node-agent
|
||||||
ExecStart=/usr/bin/python3 /opt/fleet-node-agent/system_monitor.py
|
ExecStart=/usr/bin/python3 /opt/fleet-node-agent/system_monitor.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|||||||
Reference in New Issue
Block a user