This commit is contained in:
Sean Whalen
2019-02-05 11:53:12 -05:00
parent c3acdce52e
commit 5ab69bcbc1
3 changed files with 13 additions and 1 deletions

View File

@@ -951,6 +951,13 @@ Create a system user
sudo useradd parsedmarc -r -s /bin/false
Protect the ``parsedmarc`` configuration file from prying eyes
.. code-block:: bash
sudo chown parsedmarc:parsedmarc /etc/parsedmarc.ini
sudo chmod ug=r,o= /etc/parsedmarc.ini
Create the service configuration file
.. code-block:: bash

View File

@@ -1034,6 +1034,11 @@ arrive.</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo useradd parsedmarc -r -s /bin/false
</pre></div>
</div>
<p>Protect the <code class="docutils literal notranslate"><span class="pre">parsedmarc</span></code> configuration file from prying eyes</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo chown parsedmarc:parsedmarc /etc/parsedmarc.ini
sudo chmod <span class="nv">ug</span><span class="o">=</span>r,o<span class="o">=</span> /etc/parsedmarc.ini
</pre></div>
</div>
<p>Create the service configuration file</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>sudo nano /etc/systemd/system/parsedmarc.service
</pre></div>

File diff suppressed because one or more lines are too long