apache-sync-logs: allow setting VERBOSE from the environment
[hcoop/scripts.git] / apache-sync-logs
index 58c24c5..aec4e67 100755 (executable)
@@ -9,7 +9,9 @@ kdestroy > /dev/null 2>&1
 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