Jérôme Petazzoni 10/6/2013

Use policy-rc.d to prevent services from starting automatically

Read Original

This technical article explains the purpose and usage of the policy-rc.d script on Debian and Ubuntu systems. It details how the script intercepts service start/stop requests via invoke-rc.d, allowing administrators to prevent automatic service starts in environments like chroots or golden image builds. The guide includes commands to create the script and discusses technical nuances like the absence of a shebang.

Use policy-rc.d to prevent services from starting automatically

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser