Compare commits
2 Commits
ffca7d93e6
...
28d069b0b2
Author | SHA1 | Date |
---|---|---|
Peter J. Holzer | 28d069b0b2 | |
Peter J. Holzer | 896e123f71 |
|
@ -1,11 +1,12 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gunicorn server for %I
|
Description=Gunicorn server for %i
|
||||||
After=network.target nss-lookup.target network-online.target nss-user-lookup.target
|
After=network.target nss-lookup.target network-online.target nss-user-lookup.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/usr/local/www/%I/app
|
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
|
EnvironmentFile=-/usr/local/www/%i/config/gunicorn/env
|
||||||
|
ExecStart=/usr/local/www/%i/app/venv/bin/gunicorn -c /usr/local/www/%i/config/gunicorn/gunicorn.conf.py
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue