Debian Codegraph @

debian/systemd-oomd.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 #DEBHELPER#
6
7 # reload dbus configuration to make the new org.freedesktop.oom1 API available
8 # The org.freedesktop.oom1.conf policy references the 'systemd-oom' user, thus
9 # an explicit reload of dbus is needed after the system user was created.
10 if [ -d /run/systemd/system ]; then
11 systemctl reload dbus || true
12 fi