version multi computer

This commit is contained in:
2024-09-02 12:38:05 +02:00
parent 9c25191f0d
commit b72d3f82c0
6 changed files with 970 additions and 63 deletions

View File

@@ -8,10 +8,12 @@ After=network-online.target
Type=simple
User=gilles
# Délai avant de démarrer le service
ExecStartPre=/bin/sleep 60
ExecStart=/home/gilles/pilot/monenv/bin/python3 /home/gilles/pilot/main.py
ExecStartPre=/bin/sleep 30
ExecStart=/home/gilles/pilot/monenv/bin/python3 /home/gilles/pilot/main_prog.py
Restart=on-failure
RestartSec=30
ExecStopPost=/home/gilles/pilot/monenv/bin/python3 /home/gilles/pilot/mqtt_unvai.py
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target