On Tue, Aug 10, 2010 at 05:33:27AM +0200, Regid Ichira wrote: > invoke-rc.d introduces the concept of a policy layer. There fore, > shouldn't checkrestart suggest invoke-rc.d, and not directly running > the init script?
I'm not sure that's a good idea, checkrestart looks for services that need to be restarted. If they are started then certainly the policy should be configured to enable it, but there might be the case when the policy does *not* allow the service but some admin started it anyway (manually). Since we are talking about restarting services I believe it should point to init.d in any case. Regards Javier
signature.asc
Description: Digital signature