Sign up ×
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.

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/

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.