phantasma/etc/systemd/system/phantasma.service

15 lines
275 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
ExecStart=/srv/phantasma/venv/bin/gunicorn app.wsgi:application -p 8080
[Install]
WantedBy=multi-user.target