Ask the Community
Groups
Disable/Enable Upstart services for Linux clients - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>This article explains how to disable (and re-enable) the bpinetd and mynotify Upstart services for Linux clients.</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <p>After installing the Unitrends agent on a Linux client which uses the Upstart init system, the <code class="code codeInline" spellcheck="false" tabindex="0">bpinetd</code> and <code class="code codeInline" spellcheck="false" tabindex="0">mynotify</code> services will automatically start at system boot. In most cases, it will never be necessary to disable these services. However, if you do need to disable them, this article explains how. It also provides instructions for enabling the services after they have been disabled. While these services are disabled, backups will not run for the Linux client.</p> <p><strong>Note:</strong> Not all Linux systems use Upstart. If the files <code class="code codeInline" spellcheck="false" tabindex="0">/etc/init/bpinetd.conf</code> and <code class="code codeInline" spellcheck="false" tabindex="0">/etc/init/mynotify.conf</code> do not exist, then this article is not applicable.</p> <h2 data-id="disable-upstart-services">Disable Upstart services</h2> <p>Disabling the services is a two part process. First, you must create an override file. Then stop the services manually.</p> <h3 data-id="create-an-override-file">Create an override file</h3> <p>Create an override file for the service to be disabled.</p> <p><code class="code codeInline" spellcheck="false" tabindex="0"># echo manual > /etc/init/bpinetd.override</code></p> <p>and/or</p> <p><code class="code codeInline" spellcheck="false" tabindex="0"># echo manual > /etc/init/mynotify.override</code></p> <h3 data-id="stop-the-service">Stop the service</h3> <p>Stop the service you wish to disable.</p> <p><code class="code codeInline" spellcheck="false" tabindex="0"># service bpinetd stop</code></p> <p>and/or</p> <p><code class="code codeInline" spellcheck="false" tabindex="0"># service mynotify stop</code></p> <p>The services will remain disabled until manually started.</p> <h2 data-id="restore-upstart-services">Restore Upstart services</h2> <p>To restore the services to their original behavior, remove the override files and start the services manually.</p> <h3 data-id="remove-the-override-file">Remove the override file</h3> <p><code class="code codeInline" spellcheck="false" tabindex="0"># rm /etc/init/bpinetd.override</code></p> <p>and/or</p> <p><code class="code codeInline" spellcheck="false" tabindex="0"># rm /etc/init/mynotify.override</code></p> <h3 data-id="start-the-service">Start the service</h3> <p><code class="code codeInline" spellcheck="false" tabindex="0"># service bpinetd start</code></p> <p>and/or</p> <p><code class="code codeInline" spellcheck="false" tabindex="0"># service mynotify start</code></p> </article> </main>