Koha/debian/scripts
Jonathan Druart 0e9e51db94 Bug 15012: use sudo instead of su in koha-shell
Not sure this is the best way to fix it but it looks to work.

Test plan:
  sudo koha-shell kohadev
should not return any error
Without this patch, you should get
  bash: cannot set terminal process group (-1): Inappropriate ioctl for device
  bash: no job control in this shell

Confirm that other options work as before

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Works as expected. Tested on kohadevbox:ansible.
KOHA_CONF and PERL5LIB are correctly set on the child shell.
Bonus point: koha-shell doesn't die if the user issues Ctrl+C to abort an execution.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-22 00:02:50 -03:00
..
koha-create Bug 14167: (QA followup) Add template and changes needed for packages 2015-07-21 10:18:11 -03:00
koha-create-dirs Bug 9890: fix plugin handling by koha-create and koha-create-dirs 2013-06-24 06:55:36 -07:00
koha-disable Bug 13785: (QA followup) koha-disable should stop the indexer daemon 2015-03-11 14:43:32 -03:00
koha-dump Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-dump-defaults Bug 5509 - use an XML parser to get values from config 2011-04-28 13:35:25 +12:00
koha-email-disable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-email-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach Bug 13791: make koha-list aware of plack 2015-08-24 13:00:41 -03:00
koha-functions.sh Bug 14361: koha-restart-zebra fails and probably breaks upgrade 2015-08-26 10:42:04 -03:00
koha-indexer Bug 13753: koha-indexer contains invalid statement 2015-03-02 15:25:46 +01:00
koha-list Bug 13791: make koha-list aware of plack 2015-08-24 13:00:41 -03:00
koha-mysql Bug 12372: (QA followup) Standardized argument parsing for koha-mysql. 2015-08-24 13:18:08 -03:00
koha-mysqlcheck Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-plack Bug 13791: Plack out-of-the-box support on packages 2015-08-24 13:00:39 -03:00
koha-rebuild-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-remove Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
koha-reset-passwd Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-restart-zebra Bug 13896: (QA followup) fix koha-{stop|restart}-zebra too 2015-04-08 14:56:44 -03:00
koha-restore Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-run-backups Bug 9260: stop koha-run-backups complaining "missing ]" 2012-12-21 08:11:39 -05:00
koha-shell Bug 15012: use sudo instead of su in koha-shell 2015-10-22 00:02:50 -03:00
koha-start-sip Bug 7904 - remove unnecessary path from SIP script 2015-02-05 14:44:48 -03:00
koha-start-zebra Bug 13896: Fix pid file creation, use proper directory instead of /tmp/ 2015-04-08 14:47:46 -03:00
koha-stop-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra Bug 13896: (QA followup) fix koha-{stop|restart}-zebra too 2015-04-08 14:56:44 -03:00
koha-translate Bug 14203: Message for non-existent lang removal 2015-05-26 10:42:05 -03:00
koha-upgrade-schema Add koha-upgrade-schema, a script to upgrade the database schema. 2010-05-25 07:59:35 -04:00
koha-upgrade-to-3.4 Bug 6651 - fix splitting of names when updating to 3.4 2011-09-13 10:29:12 +12:00