- Update init script to impeach pid file
This commit is contained in:
parent
f53bad2d2f
commit
9e57e04428
@ -8,7 +8,7 @@
|
|||||||
Summary: The Cyrus SASL library
|
Summary: The Cyrus SASL library
|
||||||
Name: cyrus-sasl
|
Name: cyrus-sasl
|
||||||
Version: 2.1.23
|
Version: 2.1.23
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
# Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/;
|
# Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/;
|
||||||
@ -399,6 +399,9 @@ exit 0
|
|||||||
%{_sbindir}/sasl2-shared-mechlist
|
%{_sbindir}/sasl2-shared-mechlist
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Mar 11 2010 Jan F. Chadima <jchadima@redhat.com> - 2.1.23-11
|
||||||
- Update pre post preun and postun scripts (#572399)
|
- Update pre post preun and postun scripts (#572399)
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ RETVAL=0
|
|||||||
prog=saslauthd
|
prog=saslauthd
|
||||||
path=/usr/sbin/saslauthd
|
path=/usr/sbin/saslauthd
|
||||||
lockfile=/var/lock/subsys/$prog
|
lockfile=/var/lock/subsys/$prog
|
||||||
|
pidfile=/var/run/saslauthd/saslauthd.pid
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -x $path ] || exit 5
|
[ -x $path ] || exit 5
|
||||||
@ -69,7 +70,7 @@ force_reload() {
|
|||||||
|
|
||||||
rh_status() {
|
rh_status() {
|
||||||
# run checks to determine if the service is running or use generic status
|
# run checks to determine if the service is running or use generic status
|
||||||
status $prog
|
status -p $pidfile $prog
|
||||||
}
|
}
|
||||||
|
|
||||||
rh_status_q() {
|
rh_status_q() {
|
||||||
|
Loading…
Reference in New Issue
Block a user