From 6f4b37736435c5dd0994f3e0945b90168e814b79 Mon Sep 17 00:00:00 2001 From: Mason James Date: Fri, 24 Mar 2023 02:41:59 +1300 Subject: [PATCH] Bug 31729: renamed log file to plack-watcher.log to test... - modify some perl files in watched dir $ echo `date` > /kohadevbox/koha/xxx.pl $ echo `date` > /kohadevbox/koha/xxx.pm - see HUP/inotify messages in log file $ tail -f /var/log/koha/kohadev/plack-watcher.log <<<<<<<< CLOSE_WRITE,CLOSE happened to xxx.pl in /kohadevbox/koha/ CLOSE_WRITE,CLOSE happened to xxx.pm in /kohadevbox/koha/ Sending children hup signal --- debian/scripts/koha-watcher | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/scripts/koha-watcher b/debian/scripts/koha-watcher index fe855b8d1a..ed796c4c2b 100755 --- a/debian/scripts/koha-watcher +++ b/debian/scripts/koha-watcher @@ -60,7 +60,7 @@ elif [ -z "$instance" ]; then fi tmpfile="/tmp/koha-watcher_${instance}.tmp" -logfile="/var/log/koha/${instance}/plack-error.log" +logfile="/var/log/koha/${instance}/plack-watcher.log" # watch perl files in a dir watch_dir() { -- 2.30.2