title: How to make systemd kill or stop respawning the rsyslog daemon
body: <p>It is great that systemd can keep rsyslog daemon alive even when it dies.</p>
  
  <p>But I am crafting a new rsyslog configuration file and need to start this rsyslog daemon in debug mode.  Before I debug <code>rsyslogd</code>, I need to stop the production rsyslog daemon, so I executed:</p>
  
  <pre><code>systemctl stop rsyslogd.service
  </code></pre>
  
  <p>But that command doesn't stop rsyslog daemon.   Killing it via Unix signal doesn't keep systemd from respawning rsyslogd:</p>
  
  <pre><code>kill -KILL &lt;rsyslogd-pid&gt;
  </code></pre>
  
  <p>Even executing <code>systemctl mask rsyslogd.service</code> doesn't stop the respawning.</p>
  
  <p>How do I make systemd STOP respawning 'rsyslog' daemon so I can troubleshoot it using debug?</p>