Bug 10617 - koha-common init script cleanup
authorTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 19 Jul 2013 20:51:30 +0000 (17:51 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 21 Sep 2013 17:39:37 +0000 (17:39 +0000)
commit213fbdc5b40dd7638d652a8fd60f7391d0b10bb1
treed7aaec86876e2bbcb09fae87a5e6633be77a0665
parentda856fc46cfd4cccb092c339eee0e3ce1262e9d8
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>
debian/koha-common.default [new file with mode: 0644]
debian/koha-common.init