HCoop
/
hcoop
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e66e349
)
apache-sync-logs: allow setting VERBOSE from the environment
author
clinton_admin
<clinton_admin@fritz.hcoop.net>
Tue, 24 Mar 2015 20:25:45 +0000
(16:25 -0400)
committer
clinton_admin
<clinton_admin@fritz.hcoop.net>
Tue, 24 Mar 2015 20:25:45 +0000
(16:25 -0400)
Makes one-shot testing way less of a pain
apache-sync-logs
patch
|
blob
|
blame
|
history
diff --git
a/apache-sync-logs
b/apache-sync-logs
index
58c24c5
..
aec4e67
100755
(executable)
--- a/
apache-sync-logs
+++ b/
apache-sync-logs
@@
-9,7
+9,9
@@
kdestroy > /dev/null 2>&1
unlog
#VERBOSE=true
unlog
#VERBOSE=true
-VERBOSE=false
+if [ -z "$VERBOSE" ]; then
+ VERBOSE=false
+fi
LOCAL_LOG_DIR=/var/log/apache2/user
KEYTAB_DIR=/etc/keytabs/user.daemon
LOCAL_LOG_DIR=/var/log/apache2/user
KEYTAB_DIR=/etc/keytabs/user.daemon