Summary: | add a koha-setenv or an improved koha-foreach | ||
---|---|---|---|
Product: | Koha | Reporter: | MJ Ray (software.coop) <mjr> |
Component: | Packaging | Assignee: | Robin Sheat <robin> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | tomascohen |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | Seeking cosponsors | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
MJ Ray (software.coop)
2012-03-07 18:32:02 UTC
So basically something that lets you do, e.g. koha-setenv mylibrary that drops you into a shell as the appropriate koha user with the KOHA_CONF variables set up? Cos that sounds like a useful thing to have to me. I'm in the habit of doing stuff like "sudo -u koha-mylibrary env KOHA_CONF=... command" but it'd be a good habit to break. This is the functionality 'koha-shell' provides already. |