|
|
1f3433 |
From 90d7a614b3eb451f0067dfacf0f0b6f41eb00180 Mon Sep 17 00:00:00 2001
|
|
|
1f3433 |
From: Robbie Harwood <rharwood@redhat.com>
|
|
|
1f3433 |
Date: Wed, 26 Apr 2017 21:02:47 -0400
|
|
|
1f3433 |
Subject: [PATCH] Update systemd file
|
|
|
1f3433 |
|
|
|
1f3433 |
Add `reload` capability, and remove dependency on nfs-utils.
|
|
|
1f3433 |
|
|
|
1f3433 |
Closes: #127
|
|
|
1f3433 |
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
|
|
1f3433 |
Reviewed-by: Simo Sorce <simo@redhat.com>
|
|
|
1f3433 |
(cherry picked from commit c7e8b4066575508a91a38bb6a44694c8a171f0c5)
|
|
|
1f3433 |
---
|
|
|
1f3433 |
proxy/systemd/gssproxy.service.in | 2 +-
|
|
|
1f3433 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
1f3433 |
|
|
|
1f3433 |
diff --git a/proxy/systemd/gssproxy.service.in b/proxy/systemd/gssproxy.service.in
|
|
|
1f3433 |
index dae39ee..f50f526 100644
|
|
|
1f3433 |
--- a/proxy/systemd/gssproxy.service.in
|
|
|
1f3433 |
+++ b/proxy/systemd/gssproxy.service.in
|
|
|
1f3433 |
@@ -3,7 +3,6 @@ Description=GSSAPI Proxy Daemon
|
|
|
1f3433 |
# GSSPROXY will not be started until syslog is
|
|
|
1f3433 |
After=syslog.target
|
|
|
1f3433 |
Before=nfs-secure.service nfs-secure-server.service
|
|
|
1f3433 |
-Requires=proc-fs-nfsd.mount
|
|
|
1f3433 |
|
|
|
1f3433 |
[Service]
|
|
|
1f3433 |
Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache
|
|
|
1f3433 |
@@ -12,6 +11,7 @@ ExecStart=@sbindir@/gssproxy -D
|
|
|
1f3433 |
# consult systemd.service(5) for more details
|
|
|
1f3433 |
Type=forking
|
|
|
1f3433 |
PIDFile=@localstatedir@/run/gssproxy.pid
|
|
|
1f3433 |
+ExecReload=/bin/kill -HUP $MAINPID
|
|
|
1f3433 |
|
|
|
1f3433 |
[Install]
|
|
|
1f3433 |
WantedBy=multi-user.target
|