X-Git-Url: http://git.onelab.eu/?p=fprobe-ulog.git;a=blobdiff_plain;f=fprobe-initscript;h=38b33f76647720647f7d6a70ed8ea5ef76f93090;hp=6cbae793b2a318c177046fa658960935a2fccfff;hb=8259ba32c8537e7688d138e0772d31feba3ec131;hpb=d719b3c8fdc1685b5c090c0f32f4a66a6a2c6ac7 diff --git a/fprobe-initscript b/fprobe-initscript index 6cbae79..38b33f7 100644 --- a/fprobe-initscript +++ b/fprobe-initscript @@ -34,7 +34,7 @@ case "$1" in 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 @@ -63,6 +63,15 @@ case "$1" in 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