15 lines
275 B
SYSTEMD
15 lines
275 B
SYSTEMD
|
[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
|