[Pkg-dspam-commits] [dspam] 01/01: Close stdin, stdout and stderr in dspam init
Thomas Preud'homme
robotux at alioth.debian.org
Fri Oct 18 14:39:51 UTC 2013
This is an automated email from the git hooks/post-receive script.
robotux pushed a commit to branch master
in repository dspam.
commit b638a41105355f12480226c0ebfce272b8e9a047
Author: Thomas Preud'homme <robotux at celest.fr>
Date: Fri Oct 18 22:35:16 2013 +0800
Close stdin, stdout and stderr in dspam init
Close stdin, stdout and stderr in start mode of dspam init script since
dspam fails to do so itself.
Closes: #726713
---
debian/changelog | 7 +++++++
debian/dspam.init | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 6c1c239..e8ba441 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+dspam (3.10.2+dfsg-12) UNRELEASED; urgency=low
+
+ * Close stdin, stdout and stderr when launching dspam daemon in dspam init
+ script as dspam fails to do so (Closes: #726713).
+
+ -- Thomas Preud'homme <robotux at debian.org> Fri, 18 Oct 2013 22:37:20 +0800
+
dspam (3.10.2+dfsg-11) unstable; urgency=low
* debian/patches:
diff --git a/debian/dspam.init b/debian/dspam.init
index 10641c9..a4097e1 100644
--- a/debian/dspam.init
+++ b/debian/dspam.init
@@ -55,7 +55,7 @@ do_start()
# 2 if daemon could not be started
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER --exec $DAEMON --test > /dev/null \
|| return 1
- start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER --exec $DAEMON -- $DAEMON_ARGS \
+ start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid $USER --exec $DAEMON -- $DAEMON_ARGS < /dev/null > /dev/null 2>&1 \
|| return 2
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-dspam/dspam.git
More information about the Pkg-dspam-commits
mailing list