njpma/etc/systemd/system/phantasma.service

15 lines
298 B
SYSTEMD
Raw Normal View History

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