LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to remove postgresql from startup (https://www.linuxquestions.org/questions/linux-general-1/how-to-remove-postgresql-from-startup-481963/)

IcedJava 09-09-2006 04:22 PM

How to remove postgresql from startup
 
Hi,

I want to remove some applications/services that start when I boot up Kubuntu. Can someone please walk me though the steps to remove postgresql from startup? I have Kubuntu 6.06.

Thanks

Best Regards
IcedJava
( :newbie: )

acid_kewpie 09-09-2006 04:38 PM

clearly not related to Linux From Scratch. please choose your forum more carefully next time. this thread will shortly be moved to a more suitable location.

XavierP 09-10-2006 09:07 AM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

Check your startup scripts - in Ubuntu it's System-->Administration-->Services

fudam 09-10-2006 08:13 PM

I'm not sure if Kubuntu has it, but I'd be surprised if it doesn't... but I use /sbin/chkconfig. Since I don't have postgresql installed on my machine I'll use "mysqld" as an example:
  1. Code:

    /sbin/chkconfig --list
    (lists all service. use this to find the exact name of service you're interested in)

  2. Code:

    /sbin/chkconfig --list mysqld
    (shows the runlevels and service status for each runlevel)

  3. Code:

    /sbin/chkconfig --level 1-5 mysqld off
    (turns mysqld off for all runlevels)

  4. Code:

    /sbin/chkconfig  --list mysqld
    (check your work to make sure it's set as you want it to be)


For more information, check out man chkconfig.

:)
-fudam


All times are GMT -5. The time now is 02:03 PM.