exit
fi
tmpfile="/var/log/koha/$instance/koha-watcher.tmp"
tmpfile="/tmp/koha-watcher_${instance}.tmp"
logfile="/var/log/koha/$instance/plack-error.log"
logfile="/var/log/koha/${instance}/plack-error.log"
# watch perl files in a dir
watch_dir() {
-