+lsb (3.2-20) unstable; urgency=low
+
+ * Revert change in 3.2-16 that broke killproc due to my misunderstanding
+ of the spec. (Closes: #495587)
+ * pidofproc now also checks for /var/run/$base.pid if -p is not specified,
+ fixing conformance with the spec.
+
+ -- Chris Lawrence <lawrencc@debian.org> Mon, 18 Aug 2008 16:34:24 -0500
+
lsb (3.2-19) unstable; urgency=low
* Return 0 in log_failure_msg too.
done
shift $(($OPTIND - 1))
+ base=${1##*/}
+ if [ ! "$specified" ]; then
+ pidfile="/var/run/$base.pid"
+ fi
+
if [ -n "${pidfile:-}" -a -e "$pidfile" ]; then
read pid < "$pidfile"
if [ -n "${pid:-}" ]; then
base=${1##*/}
if [ ! $pidfile ]; then
- name_param="--name $base"
+ name_param="--name $base --pidfile /var/run/$base.pid"
else
name_param="--pidfile $pidfile"
fi