]> git.koha-community.org Git - koha.git/commit
Bug 10617 - koha-common init script cleanup
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 19 Jul 2013 20:51:30 +0000 (17:51 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 11 Nov 2013 15:09:23 +0000 (12:09 -0300)
commitacd0ce1a83c8a9d4f8014a2897f03b31815a13dd
tree0f9de3b3ea5ff68752f0b4a6481a9188c45f2d76
parent40b9ebdf6317e9ca4330a25d6fba35e96297c50f
Bug 10617 - koha-common init script cleanup

Removed unused stuff, added a new config file /etc/default/koha-common
to control the init script behaviour. Currently is only a stub. The config
file could be put on /etc/sysconfig on RedHat and friends. The init script
should work them too. Added a TODO comment regarding the 'status' switch.

To test:
- Apply the patch on master, build your own packages and install.
- The init script should continue to work as expected.
(it can be tested replacing the /etc/init.d/koha-common file with
debian/koha-common.init on a packages install).
- The absence of the /etc/default/koha-common file should not prevent
the init script from working.

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 213fbdc5b40dd7638d652a8fd60f7391d0b10bb1)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
debian/koha-common.default [new file with mode: 0644]
debian/koha-common.init