Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue_19976_19977 #86

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Make sure pid file is removed when stopping
  • Loading branch information
Gaetano Giunta committed Oct 30, 2012
commit 742bfece5da3dd2b1a5abf243819481e0f7fd356
2 changes: 1 addition & 1 deletion bin/scripts/rhel/solr
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ d_start() {
d_stop() {
killproc -p ${pidfile} $NAME >> /dev/null 2&>1
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f ${lockfile}
[ $RETVAL -eq 0 ] && rm -f ${lockfile} ${pidfile}
return $RETVAL
}

Expand Down