example scripts for startup
[virtual-ldap] / safeq-ldap-koha.sh
diff --git a/safeq-ldap-koha.sh b/safeq-ldap-koha.sh
new file mode 100755 (executable)
index 0000000..3dc9066
--- /dev/null
@@ -0,0 +1,4 @@
+cd /srv/virtual-ldap/
+log=safeq-ldap-koha.log 
+test -f $log && mv $log $log.`date +%Y-%m-%dT%H%M%S`
+( MAX_RESULTS=10 ./bin/ldap-koha.pl 10.60.0.13:2389 2>&1 ) | tee -a $log