Skip to content
Snippets Groups Projects
Commit eea86bcb authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: add OOM-related service configuration

parent ba04ee08
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,15 @@ PIDFile=/run/subapp/subapp_bagit.pid ...@@ -37,6 +37,15 @@ PIDFile=/run/subapp/subapp_bagit.pid
# Do not kill any processes for a save shutdowns with a valid SubApp database. # Do not kill any processes for a save shutdowns with a valid SubApp database.
KillMode=none KillMode=none
### Stability features
# DEACTIVATED FOR DEBIAN 10, AS SYSTEMD DOESN'T SEEM TO SUPPORT THEM YET.
# documented at "man (5) systemd.service" and
# https://www.freedesktop.org/software/systemd/man/systemd.service.html
#OOMPolicy=stop
# documented at "man (5) systemd.exec" and
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html
OOMScoreAdjust=-900
### Security features ### Security features
# documented at https://www.freedesktop.org/software/systemd/man/systemd.exec.html # documented at https://www.freedesktop.org/software/systemd/man/systemd.exec.html
# DEACTIVATED FOR DEBIAN 10, AS SYSTEMD DOESN'T SEEM TO SUPPORT THEM YET. # DEACTIVATED FOR DEBIAN 10, AS SYSTEMD DOESN'T SEEM TO SUPPORT THEM YET.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment