summaryrefslogtreecommitdiffstats
path: root/src/basic/def.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/def.h')
-rw-r--r--src/basic/def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/basic/def.h b/src/basic/def.h
index 2e60abb4f1..eccee3d3fa 100644
--- a/src/basic/def.h
+++ b/src/basic/def.h
@@ -64,4 +64,7 @@
.un.sun_path = "\0/org/freedesktop/plymouthd", \
}
-#define VARLINK_ADDR_PATH_MANAGED_OOM "/run/systemd/io.system.ManagedOOM"
+/* Path where PID1 listens for varlink subscriptions from systemd-oomd to notify of changes in ManagedOOM settings. */
+#define VARLINK_ADDR_PATH_MANAGED_OOM_SYSTEM "/run/systemd/io.system.ManagedOOM"
+/* Path where systemd-oomd listens for varlink connections from user managers to report changes in ManagedOOM settings. */
+#define VARLINK_ADDR_PATH_MANAGED_OOM_USER "/run/systemd/oom/io.system.ManagedOOM"