diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-13 18:38:09 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-31 14:55:14 +0200 |
commit | 5ef9eda17fda06aaf81ab3f0ff6f87a80b860c94 (patch) | |
tree | aa7394c1397326dbaab24fc53f65b845f19ee394 /units | |
parent | 7e1ed1f3b29162df25064b33dc55ac8cf432bb0b (diff) | |
download | systemd-5ef9eda17fda06aaf81ab3f0ff6f87a80b860c94.tar.gz |
units: make systemd-homed.service installable
Fixes #15083. Users might want to disable homed if not used to save resources.
Diffstat (limited to 'units')
-rw-r--r-- | units/meson.build | 3 | ||||
-rw-r--r-- | units/systemd-homed.service.in | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/units/meson.build b/units/meson.build index 9964eb79a4..d8ee6df184 100644 --- a/units/meson.build +++ b/units/meson.build @@ -201,8 +201,7 @@ in_units = [ ['systemd-portabled.service', 'ENABLE_PORTABLED', 'dbus-org.freedesktop.portable1.service'], ['systemd-userdbd.service', 'ENABLE_USERDB'], - ['systemd-homed.service', 'ENABLE_HOMED', - 'multi-user.target.wants/ dbus-org.freedesktop.home1.service'], + ['systemd-homed.service', 'ENABLE_HOMED'], ['systemd-quotacheck.service', 'ENABLE_QUOTACHECK'], ['systemd-random-seed.service', 'ENABLE_RANDOMSEED', 'sysinit.target.wants/'], diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in index 7cf98e6fa6..8138f5125c 100644 --- a/units/systemd-homed.service.in +++ b/units/systemd-homed.service.in @@ -34,3 +34,7 @@ SystemCallArchitectures=native SystemCallErrorNumber=EPERM SystemCallFilter=@system-service @mount @SERVICE_WATCHDOG@ + +[Install] +WantedBy=multi-user.target +Alias=dbus-org.freedesktop.home1.service |