Skip to content

Commit 759b0af

Browse files
committed
[PLAT-18519] Fix earlyoom installation for ubuntu
Summary: Fixed earlyoom install script Test Plan: create universe with ubuntu 24 Reviewers: anijhawan Reviewed By: anijhawan Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D46820
1 parent 9dfba58 commit 759b0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

managed/node-agent/resources/configure_earlyoom_service.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if [ -z ${YB_HOME_DIR+x} ]; then
6161
YB_HOME_DIR="/home/yugabyte"
6262
fi
6363

64-
systemctl --user disable earlyoom --now
64+
systemctl --user status earlyoom && systemctl --user disable earlyoom --now
6565

6666
if [[ "$action" = "configure" || "$action" = "enable" ]]; then
6767
if ! [[ -z "${config}" ]]; then

0 commit comments

Comments
 (0)