projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix reload problem in init.d script for RPM
[metaproxy-moved-to-github.git]
/
rpm
/
metaproxy.init
diff --git
a/rpm/metaproxy.init
b/rpm/metaproxy.init
index
74fcd68
..
4e11c37
100755
(executable)
--- a/
rpm/metaproxy.init
+++ b/
rpm/metaproxy.init
@@
-134,6
+134,7
@@
reload() {
if [ $RETVAL = 0 ]; then
killproc -p ${pidfile} -d 10 $DAEMON -USR1
RETVAL=$?
+ rm -f ${pidfile}
else
rc_status -v
echo $"not reloading due to configuration syntax error"