mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
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:
parent
7e1ed1f3b2
commit
5ef9eda17f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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/'],
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user