tolto devel da servizi

This commit is contained in:
2025-10-20 20:15:03 +02:00
parent 03fe6fba26
commit c76c201a5e
3 changed files with 5 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
set -e set -e
# Directory del progetto # Directory del progetto
PROJECT_DIR="/home/alex/devel/web-app-python" PROJECT_DIR="/home/alex/web-app-python"
cd "$PROJECT_DIR" cd "$PROJECT_DIR"
# Carica variabili d'ambiente dal file .env # Carica variabili d'ambiente dal file .env

View File

@@ -7,7 +7,7 @@ Before=terrain-monitor.service
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
WorkingDirectory=/home/alex/devel/web-app-python WorkingDirectory=/home/alex/web-app-python
User=alex User=alex
Group=alex Group=alex

View File

@@ -8,9 +8,9 @@ Requires=terrain-docker.service
Type=simple Type=simple
User=alex User=alex
Group=alex Group=alex
WorkingDirectory=/home/alex/devel/web-app-python WorkingDirectory=/home/alex/web-app-python
EnvironmentFile=/home/alex/devel/web-app-python/.env EnvironmentFile=/home/alex/web-app-python/.env
ExecStart=/home/alex/devel/web-app-python/start_backend.sh ExecStart=/home/alex/web-app-python/start_backend.sh
# Restart configuration # Restart configuration
Restart=always Restart=always