phantasma/etc/systemd/system/njpma.service

15 lines
277 B
SYSTEMD
Raw Normal View History

2021-11-22 20:24:39 +00:00
[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