summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sysv/systemd/sssd.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sysv/systemd/sssd.service.in b/src/sysv/systemd/sssd.service.in
index 3c1410972..06445ea12 100644
--- a/src/sysv/systemd/sssd.service.in
+++ b/src/sysv/systemd/sssd.service.in
@@ -2,6 +2,9 @@
Description=System Security Services Daemon
# SSSD will not be started until syslog is
After=syslog.target
+# SSSD must be running before we permit user sessions
+Before=systemd-user-sessions.service nss-user-lookup.target
+Wants=nss-user-lookup.target
[Service]
EnvironmentFile=-@environment_file@