Skip to content

Commit

Permalink
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.
  • Loading branch information
yangfl committed Feb 26, 2024
1 parent c19f61a commit 6fedc78
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 systemd-oomd.socket nohang.service nohang-desktop.service oomd.service

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

0 comments on commit 6fedc78

Please sign in to comment.