bundles: less Restart=on-failure, more Restart=always

This commit is contained in:
Franzi 2021-04-02 08:05:33 +02:00
parent 5b276368b8
commit 8a0c8f32ae
Signed by: kunsi
GPG key ID: 12E3D2136B818350
9 changed files with 9 additions and 9 deletions

View file

@ -9,7 +9,7 @@ Group=pretalx
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
WorkingDirectory=/opt/pretalx/src/src
ExecStart=/opt/pretalx/venv/bin/gunicorn pretalx.wsgi --name pretalx --workers 4 --max-requests 1200 --max-requests-jitter 50 --log-level=info --bind=127.0.0.1:22060
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -9,7 +9,7 @@ Group=pretalx
Environment=PRETALX_CONFIG_FILE=/opt/pretalx/pretalx.cfg
ExecStart=/opt/pretalx/venv/bin/celery -A pretalx.celery_app worker -l info
WorkingDirectory=/opt/pretalx
Restart=on-failure
Restart=always
[Install]
WantedBy=multi-user.target