From 87aefc960557c2fb6fdf9ea4c1ac0e7983f68f68 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 10 Apr 2024 22:49:53 +0200 Subject: Adding debian version 255.4-1. 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