phantasma/etc/systemd/system/phantasma.service

15 lines
289 B
SYSTEMD
Raw Normal View History

2021-11-22 20:24:39 +00:00
[Unit]
2023-03-02 14:59:40 +00:00
Description=phantasma
2021-11-22 20:24:39 +00:00
[Service]
Type=simple
Restart=always
User=pandora
Group=pandora
2023-03-02 14:59:40 +00:00
WorkingDirectory=/srv/phantasma
2021-11-22 20:24:39 +00:00
ExecReload=/bin/kill -HUP $MAINPID
2023-03-02 14:59:40 +00:00
ExecStart=/srv/phantasma/venv/bin/gunicorn app.wsgi:application --reuse-port -b [::]:8085
2021-11-22 20:24:39 +00:00
[Install]
WantedBy=multi-user.target