units: make systemd-homed.service installable

Fixes #15083. Users might want to disable homed if not used to save resources.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-03-13 18:38:09 +01:00
parent 7e1ed1f3b2
commit 5ef9eda17f
4 changed files with 9 additions and 3 deletions

View File

@ -20,6 +20,7 @@ enable systemd-timesyncd.service
enable systemd-networkd.service
enable systemd-resolved.service
enable systemd-repart.service
enable systemd-homed.service
disable console-getty.service
disable debug-shell.service

View File

@ -1,7 +1,9 @@
[Unit]
Description=TEST-46-HOMED
Before=getty-pre.target
Wants=getty-pre.target
Before=getty-pre.target
Wants=systemd-homed.service
After=systemd-homed.service
[Service]
ExecStartPre=rm -f /failed /testok

View File

@ -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/'],

View File

@ -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