Bugzilla – Attachment 148603 Details for
Bug 31729
Enable automatic filesystem refresh in Plack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31729: fix quoting and set sh
Bug-31729-fix-quoting-and-set-sh.patch (text/plain), 941 bytes, created by
Mason James
on 2023-03-23 10:58:08 UTC
(
hide
)
Description:
Bug 31729: fix quoting and set sh
Filename:
MIME Type:
Creator:
Mason James
Created:
2023-03-23 10:58:08 UTC
Size:
941 bytes
patch
obsolete
>From 99b111c59bdcaa4fb1991397b14b4c8bbe08c680 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Thu, 23 Mar 2023 23:44:42 +1300 >Subject: [PATCH] Bug 31729: fix quoting and set sh > >--- > debian/scripts/koha-watcher | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-watcher b/debian/scripts/koha-watcher >index 6c25928628..bc3a6959de 100755 >--- a/debian/scripts/koha-watcher >+++ b/debian/scripts/koha-watcher >@@ -1,4 +1,4 @@ >-#!/bin/dash >+#!/bin/sh > # > # koha-watcher -- Restart starman when a file is modified. > # Copyright 2022 Mason James >@@ -75,7 +75,7 @@ start_reload_loop() { > while true; do > # restart, if logfile exists > if [ -e "$tmpfile" ]; then >- kill -s HUP $(cat /var/run/koha/"$instance"/plack.pid) >+ kill -s HUP $(cat "/var/run/koha/${instance}/plack.pid") > rm "$tmpfile" > fi > sleep $sec >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31729
:
141577
|
141578
|
141596
|
141597
|
141598
|
141714
|
141715
|
141716
|
142043
|
142044
|
142050
|
148600
|
148602
|
148603
|
148606
|
148612
|
148613
|
148720
|
154542
|
154601
|
154605
|
154676
|
154677