tolto devel da servizi
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user