Fix ExecStart : utiliser venv/bin/python3 au lieu de /usr/bin/python3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -167,7 +167,7 @@ Wants=mosquitto.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory={path}
|
WorkingDirectory={path}
|
||||||
ExecStart=/usr/bin/python3 {path}/{script}
|
ExecStart={path}/venv/bin/python3 {path}/{script}
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|||||||
+1
-1
@@ -142,7 +142,7 @@ Wants=mosquitto.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory={path}
|
WorkingDirectory={path}
|
||||||
ExecStart=/usr/bin/python3 {path}/{script}
|
ExecStart={path}/venv/bin/python3 {path}/{script}
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
|
|||||||
Reference in New Issue
Block a user