projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* don't exit initscript before citadelserver is gone.
[citadel.git]
/
citadel
/
debian
/
citadel.init
diff --git
a/citadel/debian/citadel.init
b/citadel/debian/citadel.init
index 1d0d8b385185466e7d66bebb1f2d8c2cf119f245..acaf6f25a4eb7e32e95df68e0313b2ea69b43cfd 100644
(file)
--- a/
citadel/debian/citadel.init
+++ b/
citadel/debian/citadel.init
@@
-79,7
+79,12
@@
do_stop()
# other if a failure occurred
if $SENDCOMMAND "DOWN" >/dev/null 2>&1 ; then
rm -f $PIDFILE
- return 0
+
+ while test -S /var/run/citadel/citadel.socket; do
+ sleep 1
+ echo -n "."
+ done
+ return 0
else
rm -f $PIDFILE
return 2