udpate systemd service

This commit is contained in:
j 2021-11-22 21:24:39 +01:00
parent ef160a1923
commit 560a409978
2 changed files with 14 additions and 14 deletions

View File

@ -0,0 +1,14 @@
[Unit]
Description=njpma
[Service]
Type=simple
Restart=always
User=pandora
Group=pandora
WorkingDirectory=/srv/njpma
ExecReload=/bin/kill -HUP $MAINPID
ExecStart=/srv/njpma/venv/bin/gunicorn app.wsgi:application --reuse-port -b [::]:8080
[Install]
WantedBy=multi-user.target

View File

@ -1,14 +0,0 @@
[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 --reuse-port -b 127.0.0.1:8080
[Install]
WantedBy=multi-user.target