With this patch is "log_end_msg" usefull again.
It fixes the "silent death"
--- apt-proxy 2008/10/29 22:30:21 2.0
+++ apt-proxy 2008/10/30 00:47:01
@@ -14,6 +14,7 @@
pidfile=$rundir/apt-proxy.pid
logfile=/var/log/apt-proxy.log
application=/usr/sbin/apt-proxy
+process=$(basename $application)
twistd=/usr/bin/twistd
user=aptproxy
group=nogroup
@@ -53,6 +54,8 @@
start-stop-daemon --start --quiet --exec $twistd -- \
--pidfile=$pidfile --rundir=$rundir --python=$application \
--logfile=$logfile --no_save
+ sleep 1 # for some startup time and then check
+ ps -eo cmd | grep -q ^$process
log_end_msg $?
;;
find attached the same patch
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]