tolto devel da servizi
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
set -e
|
||||
|
||||
# Directory del progetto
|
||||
PROJECT_DIR="/home/alex/devel/web-app-python"
|
||||
PROJECT_DIR="/home/alex/web-app-python"
|
||||
cd "$PROJECT_DIR"
|
||||
|
||||
# Carica variabili d'ambiente dal file .env
|
||||
|
||||
@@ -7,7 +7,7 @@ Before=terrain-monitor.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
WorkingDirectory=/home/alex/devel/web-app-python
|
||||
WorkingDirectory=/home/alex/web-app-python
|
||||
User=alex
|
||||
Group=alex
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@ Requires=terrain-docker.service
|
||||
Type=simple
|
||||
User=alex
|
||||
Group=alex
|
||||
WorkingDirectory=/home/alex/devel/web-app-python
|
||||
EnvironmentFile=/home/alex/devel/web-app-python/.env
|
||||
ExecStart=/home/alex/devel/web-app-python/start_backend.sh
|
||||
WorkingDirectory=/home/alex/web-app-python
|
||||
EnvironmentFile=/home/alex/web-app-python/.env
|
||||
ExecStart=/home/alex/web-app-python/start_backend.sh
|
||||
|
||||
# Restart configuration
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user