mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Conflict nscd, start before sshd (#2539)
This commit is contained in:
parent
a4c2e66afd
commit
7a78cb8a80
|
@ -3,9 +3,12 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Kanidm Local Client Resolver
|
Description=Kanidm Local Client Resolver
|
||||||
After=chronyd.service ntpd.service network-online.target
|
After=chronyd.service nscd.service ntpd.service network-online.target
|
||||||
Before=systemd-user-sessions.service nss-user-lookup.target
|
Before=systemd-user-sessions.service sshd.service nss-user-lookup.target
|
||||||
Wants=nss-user-lookup.target
|
Wants=nss-user-lookup.target
|
||||||
|
# While it seems confusing, we need to be after nscd.service so that the
|
||||||
|
# Conflicts will triger and then automatically stop it.
|
||||||
|
Conflicts=nscd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
|
|
|
@ -3,9 +3,12 @@
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Kanidm Local Client Resolver
|
Description=Kanidm Local Client Resolver
|
||||||
After=chronyd.service ntpd.service network-online.target
|
After=chronyd.service nscd.service ntpd.service network-online.target
|
||||||
Before=systemd-user-sessions.service nss-user-lookup.target
|
Before=systemd-user-sessions.service sshd.service nss-user-lookup.target
|
||||||
Wants=nss-user-lookup.target
|
Wants=nss-user-lookup.target
|
||||||
|
# While it seems confusing, we need to be after nscd.service so that the
|
||||||
|
# Conflicts will triger and then automatically stop it.
|
||||||
|
Conflicts=nscd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
|
|
Loading…
Reference in a new issue