dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0019-SYSTEMD-Add-environment-file-to-responder-service-fi.patch

ced1f5
From cc4f298024b2ef08cc0740ebbaf916bd494ef892 Mon Sep 17 00:00:00 2001
ced1f5
From: Lukas Slebodnik <lslebodn@redhat.com>
ced1f5
Date: Tue, 24 Oct 2017 12:15:48 +0200
ced1f5
Subject: [PATCH 19/21] SYSTEMD: Add environment file to responder service
ced1f5
 files
ced1f5
MIME-Version: 1.0
ced1f5
Content-Type: text/plain; charset=UTF-8
ced1f5
Content-Transfer-Encoding: 8bit
ced1f5
ced1f5
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
ced1f5
(cherry picked from commit 115145f0fb7507c1b9c5489bc77398d422a66875)
ced1f5
---
ced1f5
 src/sysv/systemd/sssd-autofs.service.in | 1 +
ced1f5
 src/sysv/systemd/sssd-ifp.service.in    | 1 +
ced1f5
 src/sysv/systemd/sssd-nss.service.in    | 1 +
ced1f5
 src/sysv/systemd/sssd-pac.service.in    | 1 +
ced1f5
 src/sysv/systemd/sssd-pam.service.in    | 1 +
ced1f5
 src/sysv/systemd/sssd-ssh.service.in    | 1 +
ced1f5
 src/sysv/systemd/sssd-sudo.service.in   | 1 +
ced1f5
 7 files changed, 7 insertions(+)
ced1f5
ced1f5
diff --git a/src/sysv/systemd/sssd-autofs.service.in b/src/sysv/systemd/sssd-autofs.service.in
ced1f5
index c2dc254c8f3f56cb6ae4dc481781688aa702b102..7f920ad66a46bb0785c3f947bc26c15d0e370259 100644
ced1f5
--- a/src/sysv/systemd/sssd-autofs.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-autofs.service.in
ced1f5
@@ -10,6 +10,7 @@ Also=sssd-autofs.socket
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_autofs.log
ced1f5
 ExecStart=@libexecdir@/sssd/sssd_autofs ${DEBUG_LOGGER} --socket-activated
ced1f5
 Restart=on-failure
ced1f5
diff --git a/src/sysv/systemd/sssd-ifp.service.in b/src/sysv/systemd/sssd-ifp.service.in
ced1f5
index 05a9a602b2d27c54a4faa79c58e0ecba90267100..f3bf92223ce8847858f57c2bb04b97c858be0ead 100644
ced1f5
--- a/src/sysv/systemd/sssd-ifp.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-ifp.service.in
ced1f5
@@ -6,6 +6,7 @@ BindsTo=sssd.service
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 Type=dbus
ced1f5
 BusName=org.freedesktop.sssd.infopipe
ced1f5
 ExecStart=@ifp_exec_cmd@ ${DEBUG_LOGGER}
ced1f5
diff --git a/src/sysv/systemd/sssd-nss.service.in b/src/sysv/systemd/sssd-nss.service.in
ced1f5
index fe771ad0fa99968bb1d42037abf2f960271589b1..c671280f2c8a7f85fd09a72983a21db0c30df3b9 100644
ced1f5
--- a/src/sysv/systemd/sssd-nss.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-nss.service.in
ced1f5
@@ -10,5 +10,6 @@ Also=sssd-nss.socket
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 ExecStart=@libexecdir@/sssd/sssd_nss ${DEBUG_LOGGER} --socket-activated
ced1f5
 Restart=on-failure
ced1f5
diff --git a/src/sysv/systemd/sssd-pac.service.in b/src/sysv/systemd/sssd-pac.service.in
ced1f5
index dbd25abc476f579c9d8cce171fdeafa06e567610..590449b01223fe799eebb12b63229dfb8f2438f9 100644
ced1f5
--- a/src/sysv/systemd/sssd-pac.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-pac.service.in
ced1f5
@@ -10,6 +10,7 @@ Also=sssd-pac.socket
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_pac.log
ced1f5
 ExecStart=@libexecdir@/sssd/sssd_pac ${DEBUG_LOGGER} --socket-activated
ced1f5
 Restart=on-failure
ced1f5
diff --git a/src/sysv/systemd/sssd-pam.service.in b/src/sysv/systemd/sssd-pam.service.in
ced1f5
index df722d1f3014bf62cc60114c30331424d14f411b..f2e938579c7ef4254bb2e05231bfe83d7e20f395 100644
ced1f5
--- a/src/sysv/systemd/sssd-pam.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-pam.service.in
ced1f5
@@ -10,6 +10,7 @@ Also=sssd-pam.socket sssd-pam-priv.socket
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_pam.log
ced1f5
 ExecStart=@libexecdir@/sssd/sssd_pam ${DEBUG_LOGGER} --socket-activated
ced1f5
 Restart=on-failure
ced1f5
diff --git a/src/sysv/systemd/sssd-ssh.service.in b/src/sysv/systemd/sssd-ssh.service.in
ced1f5
index f41249ea0fe19e5044d5d06ba195ab604d8e6a29..1c185466dfa8c13804cc980bbbdbc997d4ebe955 100644
ced1f5
--- a/src/sysv/systemd/sssd-ssh.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-ssh.service.in
ced1f5
@@ -10,6 +10,7 @@ Also=sssd-ssh.socket
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_ssh.log
ced1f5
 ExecStart=@libexecdir@/sssd/sssd_ssh ${DEBUG_LOGGER} --socket-activated
ced1f5
 Restart=on-failure
ced1f5
diff --git a/src/sysv/systemd/sssd-sudo.service.in b/src/sysv/systemd/sssd-sudo.service.in
ced1f5
index da022f768af91e360182fad0ff885fad43ecfdc0..f13d88107eccd9e80447390c9c0f8940ae933106 100644
ced1f5
--- a/src/sysv/systemd/sssd-sudo.service.in
ced1f5
+++ b/src/sysv/systemd/sssd-sudo.service.in
ced1f5
@@ -10,6 +10,7 @@ Also=sssd-sudo.socket
ced1f5
 
ced1f5
 [Service]
ced1f5
 Environment=DEBUG_LOGGER=--logger=files
ced1f5
+EnvironmentFile=-@environment_file@
ced1f5
 ExecStartPre=-/bin/chown @SSSD_USER@:@SSSD_USER@ @logpath@/sssd_sudo.log
ced1f5
 ExecStart=@libexecdir@/sssd/sssd_sudo --socket-activated
ced1f5
 Restart=on-failure
ced1f5
-- 
ced1f5
2.13.5
ced1f5