- Update init script to impeach pid file

This commit is contained in:
Jan F. Chadima 2010-04-09 13:40:22 +00:00
parent f53bad2d2f
commit 9e57e04428
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@
Summary: The Cyrus SASL library
Name: cyrus-sasl
Version: 2.1.23
Release: 11%{?dist}
Release: 12%{?dist}
License: BSD
Group: System Environment/Libraries
# Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/;
@ -399,6 +399,9 @@ exit 0
%{_sbindir}/sasl2-shared-mechlist
%changelog
* Fri Apr 9 2010 Jan F. Chadima <jchadima@redhat.com> - 2.1.23-12
- Update init script to impeach pid file
* Fri Mar 11 2010 Jan F. Chadima <jchadima@redhat.com> - 2.1.23-11
- Update pre post preun and postun scripts (#572399)

View File

@ -34,6 +34,7 @@ RETVAL=0
prog=saslauthd
path=/usr/sbin/saslauthd
lockfile=/var/lock/subsys/$prog
pidfile=/var/run/saslauthd/saslauthd.pid
start() {
[ -x $path ] || exit 5
@ -69,7 +70,7 @@ force_reload() {
rh_status() {
# run checks to determine if the service is running or use generic status
status $prog
status -p $pidfile $prog
}
rh_status_q() {