summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom "spot" Callaway <tcallawa@redhat.com>2011-10-02 15:04:22 +0200
committerTom "spot" Callaway <tcallawa@redhat.com>2011-10-02 15:04:22 +0200
commitc7b0085ae183877ff46b189f73aafe036ab83abb (patch)
treef93e22ad36079e952d89c46d01bd8da540411c71
parent396e67c1e31367325c373d9a825c97cd734a7576 (diff)
downloadkrb5-c7b0085ae183877ff46b189f73aafe036ab83abb.tar.gz
krb5-c7b0085ae183877ff46b189f73aafe036ab83abb.tar.xz
krb5-c7b0085ae183877ff46b189f73aafe036ab83abb.zip
hardcode pid file path as option to krb5kdc.service
-rw-r--r--krb5.spec5
-rw-r--r--krb5kdc.service2
2 files changed, 5 insertions, 2 deletions
diff --git a/krb5.spec b/krb5.spec
index d463f95..f29cf5c 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -6,7 +6,7 @@
Summary: The Kerberos network authentication system
Name: krb5
Version: 1.9.1
-Release: 14%{?dist}
+Release: 15%{?dist}
# Maybe we should explode from the now-available-to-everybody tarball instead?
# http://web.mit.edu/kerberos/dist/krb5/1.9/krb5-1.9.1-signed.tar
Source0: krb5-%{version}.tar.gz
@@ -699,6 +699,9 @@ exit 0
%{_sbindir}/uuserver
%changelog
+* Sun Oct 2 2011 Tom Callaway <spot@fedoraproject.org> 1.9.1-15
+- hardcode pid file as option in krb5kdc.service
+
* Fri Sep 30 2011 Tom Callaway <spot@fedoraproject.org> 1.9.1-14
- fix pid path in krb5kdc.service
diff --git a/krb5kdc.service b/krb5kdc.service
index 7fe3b0b..e0dbff9 100644
--- a/krb5kdc.service
+++ b/krb5kdc.service
@@ -6,7 +6,7 @@ After=syslog.target network.target
Type=forking
PIDFile=/var/run/krb5kdc.pid
EnvironmentFile=-/etc/sysconfig/krb5kdc
-ExecStart=/usr/sbin/krb5kdc -r $KRB5REALM -P $pidfile $KRB5KDC_ARGS
+ExecStart=/usr/sbin/krb5kdc -r $KRB5REALM -P /var/run/krb5kdc.pid $KRB5KDC_ARGS
ExecReload=/bin/kill -HUP $MAINPID
[Install]