mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
Conflict nscd, start before sshd (#2539)
This commit is contained in:
parent
a4c2e66afd
commit
7a78cb8a80
|
@ -3,9 +3,12 @@
|
|||
|
||||
[Unit]
|
||||
Description=Kanidm Local Client Resolver
|
||||
After=chronyd.service ntpd.service network-online.target
|
||||
Before=systemd-user-sessions.service nss-user-lookup.target
|
||||
After=chronyd.service nscd.service ntpd.service network-online.target
|
||||
Before=systemd-user-sessions.service sshd.service 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]
|
||||
DynamicUser=yes
|
||||
|
|
|
@ -3,9 +3,12 @@
|
|||
|
||||
[Unit]
|
||||
Description=Kanidm Local Client Resolver
|
||||
After=chronyd.service ntpd.service network-online.target
|
||||
Before=systemd-user-sessions.service nss-user-lookup.target
|
||||
After=chronyd.service nscd.service ntpd.service network-online.target
|
||||
Before=systemd-user-sessions.service sshd.service 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]
|
||||
DynamicUser=yes
|
||||
|
|
Loading…
Reference in a new issue