1
0
Fork 0
systemd/debian/systemd-oomd.postinst
Daniel Baumann 1bd927b9e1
Adding debian version 257.7-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 18:07:46 +02:00

12 lines
337 B
Bash

#!/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