This commit is contained in:
Raphael 2025-07-03 21:08:28 +02:00
parent 89120d940b
commit 8634895181
2 changed files with 4 additions and 4 deletions

View file

@ -28,9 +28,9 @@ in
serviceConfig = {
Type = "simple";
User = "dsc_loc";
WorkingDirectory = "/opt/alerte_poste-master";
ExecStart = "/opt/alerte_poste-master/.venv/bin/python /opt/alerte_poste-master/src/main.py";
EnvironmentFile = "/opt/alerte_poste-master/.env";
WorkingDirectory = "/opt/alerte-poste";
ExecStart = "/opt/alerte-poste/.venv/bin/python /opt/alerte-poste/src/main.py";
EnvironmentFile = "/opt/alerte-poste/.env";
Restart = "on-failure";
RestartSec = 5;
};