cvsd commit: MODIFIED: . ...
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
cvsd commit: MODIFIED: . ...
- From: Commits of the cvsd project <cvsd-commits [at] lists.arthurdejong.org>
- To: cvsd-commits [at] lists.arthurdejong.org
- Reply-to: cvsd-users [at] lists.arthurdejong.org
- Subject: cvsd commit: MODIFIED: . ...
- Date: Thu, 23 Dec 2010 17:28:01 +0100
User: arthur
Date: 10/12/23 17:28:01
Modified: . cvsd.init
Log:
kill any remaining child process from init script on stop
Revision Changes Path
1.19 +2 -0 cvsd/debian/cvsd.init
Index: cvsd.init
===================================================================
RCS file: /home/arthur/devel/repos/cvsd/debian/cvsd.init,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- cvsd.init 28 Feb 2010 19:45:46 -0000 1.18
+++ cvsd.init 23 Dec 2010 16:28:01 -0000 1.19
@@ -58,6 +58,8 @@
$PFO \
--name cvsd
log_end_msg $?
+ # kill any remaining child processes
+ [ -f "$PIDFILE" ] && kill -s TERM -`cat "$PIDFILE"` > /dev/null 2>&1
[ -n "$PIDFILE" ] && rm -f $PIDFILE
;;
restart|force-reload)
--
To unsubscribe send an email to
cvsd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/cvsd-commits