Koha/debian/scripts
Tomas Cohen Arazi 607dac69a9 Bug 4880: Make koha-remove stop all instance's services
This patch makes koha-remove stop all instance's services before
attempting to remove the system user,

Before this patch, only zebra was stopped.

To test:
- Run:
  $ sudo koha-create --created-db favourite_name
- Run:
  $ sudo koha-remove favourite_name
=> FAIL: koha-indexer is still running for user favourite_name-koha
- Run:
  $ sudo koha-create --created-db another_name
  $ sudo koha-plack --enable another_name
  $ sudo koha-plack --start another_name
  $ sudo koha-indexer --stop another_name
  $ sudo koha-remove another_name
=> FAIL: koha-plack is still running for user another_name-koha
- Apply the patch
- Repeat the previous tests, with new names
=> SUCCESS: Everything works as expected :-D
- Sign off :-D

Signed-off-by: Lucio Moraes <lmoraes@catalyst.net.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-10-28 16:42:36 +00:00
..
koha-create Bug 16952: Czech language definitions for sorting in Zebra 2016-10-28 15:33:00 +00:00
koha-create-dirs
koha-disable
koha-dump
koha-dump-defaults
koha-email-disable
koha-email-enable
koha-enable
koha-enable-sip
koha-foreach
koha-functions.sh
koha-indexer
koha-list
koha-mysql
koha-mysqlcheck
koha-passwd
koha-plack Bug 16974: Make koha-plack should check and fix log files permissions 2016-08-17 17:58:19 +00:00
koha-rebuild-zebra
koha-remove Bug 4880: Make koha-remove stop all instance's services 2016-10-28 16:42:36 +00:00
koha-reset-passwd
koha-restart-zebra
koha-restore
koha-run-backups
koha-shell
koha-sitemap
koha-start-sip
koha-start-zebra
koha-stop-sip
koha-stop-zebra Bug 16885: koha-stop-zebra should be more sure of stopping zebrasrv 2016-08-17 17:57:15 +00:00
koha-translate
koha-upgrade-schema
koha-upgrade-to-3.4