mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-24 22:14:18 +00:00
16 lines
476 B
Desktop File
16 lines
476 B
Desktop File
[Unit]
|
|
Description=N.E.S.T. Backend Webserver
|
|
Wants=network-online.target postgresql.service
|
|
After=network-online.target nss-lookup.target postgresql.service
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=nest
|
|
Group=nest
|
|
# Cambia questa riga alla tua directory di installazione
|
|
WorkingDirectory=/srv/nest
|
|
# Cambia questa riga al tuo venv
|
|
ExecStart=/srv/nest/venv/bin/gunicorn -b 127.0.0.1:5000 --env "FLASK_CONFIG=/srv/nest/config.py" nest_backend.app:rp_app
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|