System V Evergreen start/stop/status user/ldw/ubuntu_system_v_start_stop_status_scripts
authorLiam Whalen <whalen.ld@gmail.com>
Sat, 8 Mar 2014 00:01:33 +0000 (16:01 -0800)
committerLiam Whalen <whalen.ld@gmail.com>
Sat, 8 Mar 2014 00:01:33 +0000 (16:01 -0800)
commit173dd6a1d0b1850b4870cc51b8d888f6a8041022
treea0a3ce10b6eea5e07c1f91c11f6343d5c2999475
parentf1024961703cce732ed6fd1e5cb11dd96795e67e
System V Evergreen start/stop/status

These scripts add the ability to start and stop Evergreen via the
command 'service openils start' and 'service openils stop'.  To do this,
place ubuntu-precise/openils in /etc/init.d/ and make sure it has 755
for its permissions.  Then, move ubuntu-precies/start-openils and
ubunut-precies/stop-openils to /usr/local/sbin/ and make sure they have
755 as well.

Finally, give the openils service runlevel priorites.  You can do this
with the following command: 'update-rd.d openils defaults 88 13'

I have tested this with master on Ubunut 12.04.  It is also working,
with modifications on Sitka's 2.4 systems.

Signed-off-by: Liam Whalen <whalen.ld@gmail.com>
Open-ILS/examples/ubuntu-precise/openils [new file with mode: 0755]
Open-ILS/examples/ubuntu-precise/start-openils [new file with mode: 0755]
Open-ILS/examples/ubuntu-precise/stop-openils [new file with mode: 0755]