Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4415e151d5b7ed99cb03054d5b706e2d4666835)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4415e151d5b7ed99cb03054d5b706e2d4666835)
  • Date: Fri, 9 Mar 2012 00:32:36 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

mail/dspam/DETAILS | 1 +
mail/dspam/HISTORY | 5 +++++
mail/dspam/init.d/dspam | 12 ++----------
3 files changed, 8 insertions(+), 10 deletions(-)

New commits:
commit 45835e58a99f892a63c1a4d629c80e826a62bf57
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

dspam: renewed init script

diff --git a/mail/dspam/DETAILS b/mail/dspam/DETAILS
index 18fd804..7c01ae4 100755
--- a/mail/dspam/DETAILS
+++ b/mail/dspam/DETAILS
@@ -18,6 +18,7 @@ SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-scm"
#SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
else
VERSION=3.10.1
+ PATCHLEVEL=1
SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE2=$SOURCE.asc
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
diff --git a/mail/dspam/HISTORY b/mail/dspam/HISTORY
index 713e0b3..2a09561 100644
--- a/mail/dspam/HISTORY
+++ b/mail/dspam/HISTORY
@@ -1,3 +1,8 @@
+2012-03-09 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * init.d/dspam: renewed init script for recent version -- it can fork
to
+ background now finally
+
2012-03-08 Vlad Glagolev <stealth AT sourcemage.org>
* BUILD: added sqlite2 storage driver
* DEPENDS: non-thread-safe storage drivers are not allowed in daemon
mode
diff --git a/mail/dspam/init.d/dspam b/mail/dspam/init.d/dspam
index f6fdfd5..263111e 100755
--- a/mail/dspam/init.d/dspam
+++ b/mail/dspam/init.d/dspam
@@ -1,17 +1,9 @@
#!/bin/bash

PROGRAM="/usr/bin/dspam"
-ARGS="--daemon > /dev/null 2>&1 &"
+ARGS="--daemon"
RUNLEVEL=3
-PIDFILE="/var/run/dspam/dspam.pid"
+PIDFILE="/var/run/dspam.pid"
NEEDS="+remote_fs +network"

. /etc/init.d/smgl_init
-
-start() {
- echo "Starting $NAME..."
-
- [[ -d /var/run/dspam ]] || mkdir -p /var/run/dspam
- su root -c "$PROGRAM $ARGS"
- evaluate_retval
-}



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (a4415e151d5b7ed99cb03054d5b706e2d4666835), Vlad Glagolev, 03/09/2012

Archive powered by MHonArc 2.6.24.

Top of Page