=== deng_c is now known as deng | ||
impeldown | Hello, how do I disable or set to manual startup mode of daemon on linux? | 11:45 |
---|---|---|
impeldown | I installed sysv-rc-conf and everythings works fine. Say for example I want to disable autostart of postgresql. | 11:45 |
impeldown | I just unmark the run level from 2-5 to disable it then rebooted the machine. | 11:45 |
impeldown | After disabling it, I checked data from | 11:45 |
impeldown | ls -l /etc/rc2.d/ | grep postgre | 11:46 |
impeldown | there, K20postgresql-9.1 symlink has been renamed from S20postgresql-9.1 | 11:46 |
impeldown | so I checked | 11:46 |
impeldown | cat /etc/init.d/rcS | tail -n1 | 11:46 |
impeldown | So i thought or maybe to disable a daemon on linux is to rename the the file prefix from 'S' to 'K' so that calling from rcS will not invoke it | 11:46 |
impeldown | Is it a good practice to disable daemon on linux to just rename all symlink daemon | 11:47 |
impeldown | or | 11:47 |
impeldown | I will just rename the source file in /etc/init.d/postgresql-9.1 so that symlink's run command will not work? | 11:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!