From f5c2f72917e5f75634665f67a6105e1e82ece875 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 8 Nov 2009 00:55:39 +0100 Subject: add more service examples Signed-off-by: Denys Vlasenko --- examples/var_service/httpd/w_log | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 examples/var_service/httpd/w_log (limited to 'examples/var_service/httpd/w_log') diff --git a/examples/var_service/httpd/w_log b/examples/var_service/httpd/w_log new file mode 100755 index 0000000..34b19b3 --- /dev/null +++ b/examples/var_service/httpd/w_log @@ -0,0 +1,4 @@ +#!/bin/sh + +cd log/logdir || exit 1 +watch -n2 'w=`ttysize w`; h=`ttysize h`; tail -$((h-3)) current 2>&1 | cut -b0-$((w-2))' -- cgit v1.1