[Koha-bugs] [Bug 25109] Add execution locking to Koha::Script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 13 12:29:45 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25109

--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #7)
> 1.
>   <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
> + <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
> 
> So should we remove zebra_lockdir (and replace it with $lockdir/zebra)?

Yes, but on a separate bug. If we agree on this, I can work on getting rid of
zebra_lockdir of course.

> 2.
> +        "The 'script' parameter is mandatory. You should usually pass \$0"
> 
> $0? Should be "script", right?

I tried to say that the 'script' parameter should generally be passed $0. This
comes from my try to write the tests for this, in which Script.t was always
picked if I used $0.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list