Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 start my postgreSQL-Db with this command:

    -D /usr/local/pgsql/data
    -l /var/log/globus/postgresql.log -o -i start

are the parameters kept if I restart the sql server with

/etc/init.d/postgresql restart

Thank you!

share|improve this question
up vote 0 down vote accepted

"I don't know" but I doubt it.

You should read /etc/init.d/postgresql to see what it actually does.

I'm not sure on the 'best practice' but I would assume that most options you can give on the command line can be set in postgresql's configuration file instead.

If you are able to specify those options in the configuration file, I would strongly suggest you do so, rather than modifying /etc/init.d/postgresql.

share|improve this answer
Thank you for your answer! I will check the file and the configuration possibilities... – strauberry Jul 13 '11 at 18:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .