Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-distro / recipes-security / gssproxy / files / Update-systemd-file.patch
1 From 90d7a614b3eb451f0067dfacf0f0b6f41eb00180 Mon Sep 17 00:00:00 2001
2 From: Robbie Harwood <rharwood@redhat.com>
3 Date: Wed, 26 Apr 2017 21:02:47 -0400
4 Subject: [PATCH] Update systemd file
5
6 Add `reload` capability, and remove dependency on nfs-utils.
7
8 Closes: #127
9 Signed-off-by: Robbie Harwood <rharwood@redhat.com>
10 Reviewed-by: Simo Sorce <simo@redhat.com>
11 (cherry picked from commit c7e8b4066575508a91a38bb6a44694c8a171f0c5)
12 ---
13  proxy/systemd/gssproxy.service.in | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 diff --git a/proxy/systemd/gssproxy.service.in b/proxy/systemd/gssproxy.service.in
17 index dae39ee..f50f526 100644
18 --- a/proxy/systemd/gssproxy.service.in
19 +++ b/proxy/systemd/gssproxy.service.in
20 @@ -3,7 +3,6 @@ Description=GSSAPI Proxy Daemon
21  # GSSPROXY will not be started until syslog is
22  After=syslog.target
23  Before=nfs-secure.service nfs-secure-server.service
24 -Requires=proc-fs-nfsd.mount
25  
26  [Service]
27  Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache
28 @@ -12,6 +11,7 @@ ExecStart=@sbindir@/gssproxy -D
29  # consult systemd.service(5) for more details
30  Type=forking
31  PIDFile=@localstatedir@/run/gssproxy.pid
32 +ExecReload=/bin/kill -HUP $MAINPID
33  
34  [Install]
35  WantedBy=multi-user.target