[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac
Javier Fernandez-Sanguino
jfs at debian.org
Wed Aug 29 16:31:37 UTC 2012
The following commit has been merged in the master branch:
commit 3f796803c648977e506bb27e721de60a50f328c6
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Wed Aug 29 13:40:52 2012 +0200
Do not overwrite, append to the file
diff --git a/debian/ossec-hids-local.init b/debian/ossec-hids-local.init
index c8fea37..35b6d26 100755
--- a/debian/ossec-hids-local.init
+++ b/debian/ossec-hids-local.init
@@ -91,7 +91,7 @@ do_start()
do_stop() {
if [ -z "$DEBIAN_SCRIPT_DEBUG" ] ; then
- OUT=">$LOGFILE 2>&1"
+ OUT=">>$LOGFILE 2>&1"
echo "`date -R` -- $0 stop" >>$LOGFILE
fi
`eval "${DIRECTORY}/bin/ossec-control stop $OUT"`
@@ -105,7 +105,7 @@ do_stop() {
do_status() {
if [ -z "$DEBIAN_SCRIPT_DEBUG" ] ; then
- OUT=">$LOGFILE 2>&1"
+ OUT=">>$LOGFILE 2>&1"
echo "`date -R` -- $0 status" >>$LOGFILE
fi
`eval "${DIRECTORY}/bin/ossec-control status $OUT"`
--
Git repository for pkg-ossec
More information about the Pkg-ossec-devel
mailing list