diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2022-01-12 15:03:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 15:03:00 +0000 |
commit | ac172d706365c48d5407f7f9e5d0dab87a5d1dcd (patch) | |
tree | c882348f18a65c3521f8201355bc7bc4bd6521ce /test | |
parent | 0a1f0bf405d6323bee8ed47bcaccf8c6dbf6db72 (diff) | |
parent | d338b1713aabcdc2f90d907c72f8fada085bb15e (diff) | |
download | systemd-ac172d706365c48d5407f7f9e5d0dab87a5d1dcd.tar.gz |
Merge pull request #22090 from mbiebl/units-oomd-alias
units: don't install dbus-org.freedesktop.oom1.service alias
Diffstat (limited to 'test')
-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 |