njpma/etc/systemd/system/phantasma.service
2021-10-28 19:39:17 +01:00

14 lines
298 B
Desktop File

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