Shutdown script

Mikkel L. Ellertson mikkel at infinity-ltd.com
Wed Jul 19 14:49:22 UTC 2006


Marq wrote:
> Hi i am running an application which i started upon boot using the
> rc.local, i don't know how to stop the application upon giving the
> shutdown command
> 
The application will be stopped as part of the shutdown process. If
your application requires more then the kill signal to shut it down,
or you need it to stop at a specific point in the shutdown process,
then you should consider writing a process control script similar to
to the existing ones in /etc/rc.d/init.d. You can find the
documentation for this in
/usr/share/doc/initscripts-<version>/sysvinitfiles.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the users mailing list