phantasma/etc/systemd/system/njpma.service
2021-11-22 21:24:39 +01:00

14 lines
277 B
Desktop File

[Unit]
Description=njpma
[Service]
Type=simple
Restart=always
User=pandora
Group=pandora
WorkingDirectory=/srv/njpma
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/srv/njpma/venv/bin/gunicorn app.wsgi:application --reuse-port -b [::]:8080
[Install]
WantedBy=multi-user.target