Verified Commit 0894f773 authored by Baptiste Beauplat's avatar Baptiste Beauplat
Browse files

Setting OOMPolicy to continue to prevent systemd from restarting the service on OOM trigger

parent b5729510
......@@ -6,6 +6,7 @@ After=network.target postgresql.service
ExecStart=/usr/bin/celery --app debexpo worker --beat --loglevel INFO
Restart=on-failure
WorkingDirectory=/var/www/debexpo
OOMPolicy=continue
[Install]
WantedBy=default.target
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment