Hello,

On Fri, Aug 19, 2005 at 04:17:03PM +0400, Alexander Gerasiov wrote:
> Package: mldonkey-server
> Version: 2.5.28-2
> Severity: normal
> Tags: patch
> 
> This is very annoing. It's possible to check did the process start or
> not only in syslog. :(
> 
> The following patch tries to detect such problems in /etc/init.d script:
>
> [EMAIL PROTECTED]:~# diff -u /etc/init.d/mldonkey-server{.orig,}
> --- /etc/init.d/mldonkey-server.orig    2005-08-19 15:42:46.000000000
> +0400
> +++ /etc/init.d/mldonkey-server 2005-08-19 15:45:40.000000000 +0400
> @@ -52,6 +52,11 @@
>    echo "done."
>  fi
> 
> +if [ -e $MLDONKEY_DIR/*.tmp ];then
> +  echo "mldonkey-server: start failed because of temp file(s) found:"
> $MLDONKEY_DIR/*.tmp
> +  exit 1
> +fi
> +
>  USER=`/usr/bin/stat --format="%U" $MLDONKEY_DIR/downloads.ini`
> 
>  START_STOP_OPTIONS=""
> 
> 

You should have contact me before working on a patch, i have made
changes to mldonkey_server which, in the release to come, will check
file permission, tmp presence et al (ie try to be sure to be able to
start mldonkey).

So i am sorry, but i won't include your patch.

The new release is being tested by my sponsor, who will upload it soon,
i hope.

Kind regard
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to