include deployment files
This commit is contained in:
parent
6ba276afd0
commit
f4bce133ed
5 changed files with 87 additions and 1 deletions
14
etc/systemd/system/phantasma.service
Normal file
14
etc/systemd/system/phantasma.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[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
|
||||
Loading…
Add table
Add a link
Reference in a new issue