diff options
author | Michael Biebl <biebl@debian.org> | 2022-01-12 12:29:34 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2022-01-12 12:29:34 +0100 |
commit | d338b1713aabcdc2f90d907c72f8fada085bb15e (patch) | |
tree | 75697369e2d3f51980064398ce3120f1fa67e9db | |
parent | 794aa5f57f616d1fd3d0ad803f5e7594c33391a0 (diff) | |
download | systemd-d338b1713aabcdc2f90d907c72f8fada085bb15e.tar.gz |
test: enable systemd-oomd.service
Enable the service to ensure dbus-org.freedesktop.oom1.service exists
and D-Bus activation works.
See #18469
-rwxr-xr-x | test/units/testsuite-55.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/units/testsuite-55.sh b/test/units/testsuite-55.sh index f0837d22a3..009933e665 100755 --- a/test/units/testsuite-55.sh +++ b/test/units/testsuite-55.sh @@ -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 |