Wednesday, August 24, 2011

removing services on debian

removing services on debian

I installed postgresql 9.0 on debian squeeze  using a backport package that installs it as a service. The issue is that all the configuration files are spread around with this type of installation, and I like everything tidy up in a single directory because that makes my life easier when working with multiple postgresql clusters (data directories) when performing  tests on several postgresql environments.

Disabling services on debian is as easy as using any of the tools mentioned here:

http://theos.in/desktop-linux/removing-unwanted-startup-debian-files-or-services/

from then on, you can start your postgresql database manually and specify the data directory  you wish to work with.

No comments:

Post a Comment