diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:49:53 +0000 |
commit | 87aefc960557c2fb6fdf9ea4c1ac0e7983f68f68 (patch) | |
tree | 263fc56d7d40512aaa09193905008a3f4e3b0018 /debian/systemd-oomd.postinst | |
parent | Adding upstream version 255.4. (diff) | |
download | systemd-debian/255.4-1.tar.xz systemd-debian/255.4-1.zip |
Adding debian version 255.4-1.debian/255.4-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/systemd-oomd.postinst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/systemd-oomd.postinst b/debian/systemd-oomd.postinst new file mode 100644 index 0000000..65629b7 --- /dev/null +++ b/debian/systemd-oomd.postinst @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +# reload dbus configuration to make the new org.freedesktop.oom1 API available +# The org.freedesktop.oom1.conf policy references the 'systemd-oom' user, thus +# an explicit reload of dbus is needed after the system user was created. +if [ -d /run/systemd/system ]; then + systemctl reload dbus || true +fi |