"jan gestre" <[EMAIL PROTECTED]> writes: > well if you just want to stop/start a service, just use > > # /etc/init.d/service_name stop|stop > > but for a more elegant way of doing it, use: > > # update-rc.d -f script_name remove
Actually `update-rc.d' does _updating_ of the initscript runtime levels; it pretty much just automates the process of symlinking/unlinking the initscript in /etc/init.d to the corresponding /etc/rc*.d directories. The preferred alternative way to start or stop initscripts is via `invoke-rc.d': # invoke-rc.d service-name start|stop|restart|force-reload It is `preferred' because this is the mechanism used by Debian packages upon running the maintainer scripts... Cheers, Zakame -- Zak B. Elep [EMAIL PROTECTED] _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

