Prevent starting service after package installation on Ubuntu / Debian

Prevent starting service after package installation on Ubuntu / Debian

In this tutorial we will learn, how to prevent starting service after package installation on Ubuntu / Debian . In simple way, we will use the policy.rc.d to control the behavior of invoke-rc.d for every initscript id and action . We will create a executable script called policy.rc.d and write the exit code 101 in…