mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
sys-auth/sssd: CoreOSify the service
There is no need to fork the daemon with systemd, so run in the foreground for Type=simple. This also writes logs to stderr by default, so this service no longer needs a special /var/log path. The syslog.target unit does not exist either, but SSSD can can optionally query NSCD, so order it after nscd.service.
This commit is contained in:
parent
821268f21e
commit
e6690c468f
@ -1,15 +1,10 @@
|
||||
[Unit]
|
||||
Description=System Security Services Daemon
|
||||
# SSSD will not be started until syslog is
|
||||
After=syslog.target
|
||||
After=nscd.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/sssd -D -f
|
||||
# These two should be used with traditional UNIX forking daemons
|
||||
# consult systemd.service(5) for more details
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/sssd -i
|
||||
PIDFile=/run/sssd.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
@ -4,4 +4,3 @@ d /var/lib/sss - root root - -
|
||||
d /var/lib/sss/db 0700 root root - -
|
||||
d /var/lib/sss/pipes - root root - -
|
||||
d /var/lib/sss/pipes/private 0700 root root - -
|
||||
d /var/log/sssd 0700 root root - -
|
||||
|
Loading…
x
Reference in New Issue
Block a user