How stop systemd service
<p>I am trying to create systemd service file for <a href="https://flume.apache.org/" rel="noreferrer">Flume</a>, have created <code>/etc/systemd/system/flume-ng.service</code> with following contents </p>

<pre><code>[Unit]
Description=Apache Flume

[Service]
Environment=FLUME_CLASSPATH=/opt/flume/current/lib/
ExecStart=/usr/bin/nohup /usr/bin/flume-ng agent -c /etc/flume-ng/conf -f /etc/flume-ng/conf/flume.conf --name a1 &amp;

[Install]
WantedBy=multi-user.target
</code></pre>

<p>which start the Flume service but how do I stop it as a service ?</p>

<p>In this case I had to kill with PID.</p>

<p>thanks</p>