Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to write an init script that will start a service that needs to have started postgresql server before. Bellow is the postgresql's init header:

# postgresql    This is the init script for starting up the PostgreSQL
#               server.
# chkconfig: - 64 36
# description: PostgreSQL database server.
# processname: postmaster
# pidfile: /var/run/postmaster-9.1.pid

In the header from my init script, how should I refer to postgresql, through postgresql-9.1 (the init script file name) or through postmaster (that's because of processname from postgresql's init script)?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.