]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: enable systemd-oomd.service 22090/head
authorMichael Biebl <biebl@debian.org>
Wed, 12 Jan 2022 11:29:34 +0000 (12:29 +0100)
committerMichael Biebl <biebl@debian.org>
Wed, 12 Jan 2022 11:29:34 +0000 (12:29 +0100)
Enable the service to ensure dbus-org.freedesktop.oom1.service exists
and D-Bus activation works.

See #18469

test/units/testsuite-55.sh

index f0837d22a3eff09c6f44e5e593920b1c19d9ae1c..009933e6654c9419c88bb067a369cd239534988f 100755 (executable)
@@ -35,6 +35,10 @@ echo -e "[Service]\nEnvironment=SYSTEMD_LOG_LEVEL=debug" >/etc/systemd/system/sy
 
 systemctl daemon-reload
 
+# enable the service to ensure dbus-org.freedesktop.oom1.service exists
+# and D-Bus activation works
+systemctl enable systemd-oomd.service
+
 # if oomd is already running for some reasons, then restart it to make sure the above settings to be applied
 if systemctl is-active systemd-oomd.service; then
     systemctl restart systemd-oomd.service