diff options
-rw-r--r-- | proxy/contrib/gssproxy.spec.in | 2 | ||||
-rw-r--r-- | proxy/systemd/gssproxy.service.in | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/proxy/contrib/gssproxy.spec.in b/proxy/contrib/gssproxy.spec.in index 185317c..9ec1298 100644 --- a/proxy/contrib/gssproxy.spec.in +++ b/proxy/contrib/gssproxy.spec.in @@ -74,6 +74,7 @@ install -d -m755 %{buildroot}%{_sysconfdir}/gssproxy install -m644 examples/gssproxy.conf %{buildroot}%{_sysconfdir}/gssproxy/gssproxy.conf mkdir -p %{buildroot}%{_sysconfdir}/gss/mech.d install -m644 examples/mech %{buildroot}%{_sysconfdir}/gss/mech.d/gssproxy.conf +mkdir -p %{buildroot}/var/lib/gssproxy/rcache %clean rm -rf %{buildroot} @@ -88,6 +89,7 @@ rm -rf %{buildroot} %attr(700,root,root) %dir %{gpstatedir}/clients %attr(0600,root,root) %config(noreplace) /%{_sysconfdir}/gssproxy/gssproxy.conf %attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech.d/gssproxy.conf +%attr(700,root,root) %dir /var/lib/gssproxy/rcache %{_libdir}/gssproxy/proxymech.so %{_mandir}/man5/gssproxy.conf.5* %{_mandir}/man8/gssproxy.8* diff --git a/proxy/systemd/gssproxy.service.in b/proxy/systemd/gssproxy.service.in index 7aa6785..dae39ee 100644 --- a/proxy/systemd/gssproxy.service.in +++ b/proxy/systemd/gssproxy.service.in @@ -6,6 +6,7 @@ Before=nfs-secure.service nfs-secure-server.service Requires=proc-fs-nfsd.mount [Service] +Environment=KRB5RCACHEDIR=/var/lib/gssproxy/rcache ExecStart=@sbindir@/gssproxy -D # These two should be used with traditional UNIX forking daemons # consult systemd.service(5) for more details |