snipt

Ctrl+h for KB shortcuts

Bash

Add/Remove Apache 2 from Startup

1
2
3
$ sudo update-rc.d apache2 defaults

$ sudo update-rc.d -f apache2 remove
https://snipt.net/embed/476a2fabde8dd72eae892a0975de0611/
/raw/476a2fabde8dd72eae892a0975de0611/
476a2fabde8dd72eae892a0975de0611
bash
Bash
3
2019-07-16T21:05:44
True
False
False
Jul 30, 2013 at 11:02 PM
/api/public/snipt/70703/
addremove-apache-2-from-startup
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ sudo update-rc.d apache2 defaults </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a>$ sudo update-rc.d -f apache2 remove </span></pre></div> </td></tr></table>
apache2, bash, ubuntu