5

Starting a service only after another one is completely started (on CentOS)

view full story
linux-howto

http://serverfault.com – I have installed on my CentOS server postgresql service and another one called netnfork. The 'netnfork' service starts only after postgresql starts. netnfork init script: #!/bin/sh # # netnfork init # # chkconfig: 2345 99 15 # description: netnfork ... From netnfork's init script you can see that start order is 99. The postgresql init script: #!/bin/sh # # postgresql This is the init script for starting up the PostgreSQL # server. # # chkconfig: - 64 36 # description: PostgreSQL database server. ... As you can see from the postgresql's init script, the start order is 6 (HowTos)