[Pkg-sysvinit-devel] Bug#539260: sysvinit: rc.local doesn't stop when system is rebooted

Petter Reinholdtsen pere at hungry.com
Thu Jul 30 08:41:25 UTC 2009


reassign 539260 initscripts
tags 539260 + wontfix
merge 513237 539260
thanks

[Nigel Horne]
> /etc/init.d/rc.local doesn't stop /etc/rc.local when the system is
> shutdown or rebooted, so local services may not be cleanly stopped.

This is by design.  rc.local is only for stuff that should happen
during boot.  If you want things to run during shutdown, you should
provide a proper init.d script and register it using update-rc.d.  See
#513237 for more information.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list