From b7e8d5af06ee840cc48217ca4629cf28aeeb3c50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:35:19 +0200 Subject: Adding debian version 252.22-1~deb12u1. Signed-off-by: Daniel Baumann --- debian/systemd-oomd.postinst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/systemd-oomd.postinst (limited to 'debian/systemd-oomd.postinst') 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 -- cgit v1.2.3