sssd/sssd.service
Petr "Stone" Hracek 076e023059 Dockerfile and tests for container
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-05-31 10:45:42 +02:00

27 lines
804 B
Desktop File

# This is a service file for SSSD in Docker container
# started via Atomic. This file will not be seen by the
# SSSD processes in the container. To customize the behaviour
# of the service in the container, add config file/snipped to
# /etc/systemd/system/sssd.service.d/
[Unit]
Description=System Security Services Daemon in container
Requires=docker.service
After=docker.service
# 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]
ExecStart=/usr/bin/atomic run --name=${NAME} ${IMAGE}
ExecStop=/usr/bin/atomic stop --name=${NAME} ${IMAGE}
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
WantedBy=docker.service