[nagios-nrpe-server] Add an override for unit file #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
security
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: evolix/ansible-roles#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I propose to add
Restart=always
becausenagios-nrpe-server
need to be always running.The unit file uses
OOMScoreAdjust=-500
to not to kill the service by OOMkill but it is sometimes useless as NRPE cannot fork:Adding
Restart=always
will keep relaunching the process if it fails due to memory allocation. By the time OOMkiller kills another process to free the RAM./etc/systemd/system/nagios-nrpe-server.service.d/override.conf: