/srv/irclogs.ubuntu.com/2012/08/22/#ubuntu-ph.txt

=== deng_c is now known as deng
impeldownHello, how do I disable or set to manual startup mode of daemon on linux?11:45
impeldownI installed sysv-rc-conf and everythings works fine. Say for example I want to disable autostart of postgresql.11:45
impeldownI just unmark the run level from 2-5 to disable it then rebooted the machine.11:45
impeldownAfter disabling it, I checked data from 11:45
impeldownls -l /etc/rc2.d/ | grep postgre11:46
impeldownthere, K20postgresql-9.1 symlink has been renamed from S20postgresql-9.111:46
impeldownso I checked11:46
impeldowncat /etc/init.d/rcS | tail -n111:46
impeldownSo 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 it11:46
impeldownIs it a good practice to disable daemon on linux to just rename all symlink daemon11:47
impeldownor11:47
impeldownI 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!