mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +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]
|
[Unit]
|
||||||
Description=System Security Services Daemon
|
Description=System Security Services Daemon
|
||||||
# SSSD will not be started until syslog is
|
After=nscd.service
|
||||||
After=syslog.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/sssd -D -f
|
ExecStart=/usr/sbin/sssd -i
|
||||||
# These two should be used with traditional UNIX forking daemons
|
|
||||||
# consult systemd.service(5) for more details
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/run/sssd.pid
|
PIDFile=/run/sssd.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
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/db 0700 root root - -
|
||||||
d /var/lib/sss/pipes - root root - -
|
d /var/lib/sss/pipes - root root - -
|
||||||
d /var/lib/sss/pipes/private 0700 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