Initial release

This commit is contained in:
Peter J. Holzer 2021-08-01 15:11:46 +02:00 committed by Peter J. Holzer
commit ffca7d93e6
1 changed files with 13 additions and 0 deletions

13
gunicorn-multi@.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Gunicorn server for %I
After=network.target nss-lookup.target network-online.target nss-user-lookup.target
[Service]
Type=simple
WorkingDirectory=/usr/local/www/%I/app
ExecStart=/usr/local/www/%I/app/venv/bin/gunicorn -c /usr/local/www/%I/config/gunicorn/gunicorn.conf.py
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target