git://git.onelab.eu
/
fprobe-ulog.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make fprobe compress the collected flow logs.
[fprobe-ulog.git]
/
fprobe-initscript
diff --git
a/fprobe-initscript
b/fprobe-initscript
index
6cbae79
..
38b33f7
100644
(file)
--- a/
fprobe-initscript
+++ b/
fprobe-initscript
@@
-34,7
+34,7
@@
case "$1" in
rm -f $pidfile
fi
rm -f $pidfile
fi
- /sbin/fprobe-ulog -M -E 60 -T 168 -f pf2 -q 1000 -s 30 -D 250000
+ /sbin/fprobe-ulog -M -
e 3600 -d 3600 -
E 60 -T 168 -f pf2 -q 1000 -s 30 -D 250000
sleep 1
cmd=success
sleep 1
cmd=success
@@
-63,6
+63,15
@@
case "$1" in
echo 'not running' && exit 1
;;
echo 'not running' && exit 1
;;
+ condrestart)
+ if check_status; then
+ $0 restart
+ RETVAL=$?
+ else
+ RETVAL=0
+ fi
+ ;;
+
*)
echo "Usage: $0 {start|stop|restart|status}"
RETVAL=1
*)
echo "Usage: $0 {start|stop|restart|status}"
RETVAL=1