witten
/
luminotes
Archived
1
0
Fork 0

Fixed a bug in tools/luminotes_debian_initscript that prevented the "stop" command from working properly.

This commit is contained in:
Dan Helfman 2009-03-17 14:08:55 -07:00
parent 1d1873d38a
commit 503625bdea
3 changed files with 8 additions and 3 deletions

5
NEWS
View File

@ -1,3 +1,8 @@
1.6.10:
* For those of you who have installed Luminotes Server: Fixed a bug in
tools/luminotes_debian_initscript that prevented the "stop" command from
working properly.
1.6.9: March 16, 2009 1.6.9: March 16, 2009
* Added a remove formatting feature to the tools menu. This allows you to * Added a remove formatting feature to the tools menu. This allows you to
strip out all formatting from the currently selected text. strip out all formatting from the currently selected text.

View File

@ -1,2 +1,2 @@
VERSION = u"1.6.9" VERSION = u"1.6.10"
TRIAL = False TRIAL = False

View File

@ -66,7 +66,7 @@ do_stop()
# 1 if daemon was already stopped # 1 if daemon was already stopped
# 2 if daemon could not be stopped # 2 if daemon could not be stopped
# other if a failure occurred # other if a failure occurred
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME.py
RETVAL="$?" RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2 [ "$RETVAL" = 2 ] && return 2
# Wait for children to finish too if this is a daemon that forks # Wait for children to finish too if this is a daemon that forks
@ -91,7 +91,7 @@ do_reload() {
# restarting (for example, when it is sent a SIGHUP), # restarting (for example, when it is sent a SIGHUP),
# then implement that here. # then implement that here.
# #
start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME.py
return 0 return 0
} }