[Pkg-ocaml-maint-commits] [mldonkey] 07/07: Redirect startup output into the log file (Closes: #708870)

Mehdi Dogguy mehdi at moszumanska.debian.org
Wed Mar 26 23:26:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

mehdi pushed a commit to branch master
in repository mldonkey.

commit 34c5c568922309eef9d5a5582ff9f8541e2b6990
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Thu Mar 27 00:25:55 2014 +0100

    Redirect startup output into the log file (Closes: #708870)
---
 debian/changelog            | 1 +
 debian/mldonkey-server.init | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fb1c6bd..ddb9eb6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ mldonkey (3.1.5-1) UNRELEASED; urgency=low
 
   [ Mehdi Dogguy ]
   * New upstream release.
+  * Redirect startup output into the log file (Closes: #708870)
 
   [ Peter Eisentraut ]
   * Add support for "status" action to mldonkey-server init script (Closes: #647719)
diff --git a/debian/mldonkey-server.init b/debian/mldonkey-server.init
index 9483707..532e1ff 100644
--- a/debian/mldonkey-server.init
+++ b/debian/mldonkey-server.init
@@ -132,8 +132,8 @@ case "$1" in
     WRAPPER_OPTIONS="$WRAPPER_OPTIONS --user $USER"
 
     start-stop-daemon --start $WRAPPER_OPTIONS \
-    --pidfile $PIDFILE --background --exec $EXEC \
-    -- -log_file $SERVERLOG -pid $PIDDIR 2>&1
+    --pidfile $PIDFILE --background --no-close --exec $EXEC \
+    -- -log_file $SERVERLOG -pid $PIDDIR >>$SERVERLOG 2>&1
 
     StartErrorCheck
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/mldonkey.git



More information about the Pkg-ocaml-maint-commits mailing list