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

14 lines
275 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 -p 8080
[Install]
WantedBy=multi-user.target