18 lines
403 B
Desktop File
18 lines
403 B
Desktop File
[Unit]
|
|
Description=phantasmobile daemon
|
|
After=postgresql.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
User=phantasmobile
|
|
Group=phantasmobile
|
|
WorkingDirectory=/srv/phantasmobile
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
ExecStart=/srv/phantasmobile/venv/bin/gunicorn \
|
|
app.wsgi:application \
|
|
-c app/gunicorn_config.py \
|
|
-p /run/phantasmobile/phantasmobile.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|