mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
Merge pull request #22090 from mbiebl/units-oomd-alias
units: don't install dbus-org.freedesktop.oom1.service alias
This commit is contained in:
commit
ac172d7063
@ -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
|
||||
|
@ -221,8 +221,7 @@ in_units = [
|
||||
['systemd-networkd.service', 'ENABLE_NETWORKD'],
|
||||
['systemd-networkd-wait-online.service', 'ENABLE_NETWORKD'],
|
||||
['systemd-nspawn@.service', ''],
|
||||
['systemd-oomd.service', 'ENABLE_OOMD',
|
||||
'dbus-org.freedesktop.oom1.service'],
|
||||
['systemd-oomd.service', 'ENABLE_OOMD'],
|
||||
['systemd-portabled.service', 'ENABLE_PORTABLED',
|
||||
'dbus-org.freedesktop.portable1.service'],
|
||||
['systemd-userdbd.service', 'ENABLE_USERDB'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user