Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
earlyoom.service: add Conflicts
Browse files Browse the repository at this point in the history
Some distros default to systemd oom handling. Mark systemd unit
conflict with other oom handlers to prevent incompatibility.
yangfl committed Feb 8, 2024
1 parent c19f61a commit 03e0376
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions earlyoom.service.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=Early OOM Daemon
Documentation=man:earlyoom(1) https://github.com/rfjakob/earlyoom
Conflicts=systemd-oomd.service nohang.service oomd.service

[Service]
EnvironmentFile=-:SYSCONFDIR:/default/earlyoom

0 comments on commit 03e0376

Please sign in to comment.