<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear pulp developers,</p>
<p>I have installed PULP in a centos 7 Vagrant VM using your ansible
project</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/pulp/ansible-pulp/">https://github.com/pulp/ansible-pulp/</a></p>
<p>Now I'm looking at the documentation to see in detail how it
works.<br>
</p>
<p>At the section about Systemd :<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd">https://docs.pulpproject.org/en/3.0/nightly/installation/instructions.html#systemd</a></p>
<p>It is said that the default config file is <tt>/etc/pulp/server.yaml</tt>.</p>
<p>In the installed VM there is not a <code class="docutils literal
notranslate"><span class="pre">Environment=PULP_SETTINGS=/path/to/pulp/server.yaml
</span></code>line in the <tt>pulp-resource-manager.service </tt>file
and the configuration file is named `<tt>/etc/pulp/settings.py</tt>`.
Some thing must be updated in the documentation?<br>
</p>
<p>The file contents in the VM are:<br>
</p>
<p><tt>[root@dev-pulp-server system]# cat
/etc/systemd/system/pulp-resource-manager.service</tt><tt><br>
</tt><tt>[Unit]</tt><tt><br>
</tt><tt>Description=Pulp Resource Manager</tt><tt><br>
</tt><tt>After=network-online.target</tt><tt><br>
</tt><tt>Wants=network-online.target</tt><tt><br>
</tt><tt><br>
</tt><tt># This service will break if left running while
PostgreSQL restarts.</tt><tt><br>
</tt><tt>BindsTo=postgresql.service</tt><tt><br>
</tt><tt>After=postgresql.service</tt><tt><br>
</tt><tt><br>
</tt><tt>[Service]</tt><tt><br>
</tt><tt>Environment="DJANGO_SETTINGS_MODULE=pulpcore.app.settings"</tt><tt><br>
</tt><tt>User=pulp</tt><tt><br>
</tt><tt>WorkingDirectory=/var/run/pulp-resource-manager/</tt><tt><br>
</tt><tt>RuntimeDirectory=pulp-resource-manager</tt><tt><br>
</tt><tt>ExecStart=/usr/local/lib/pulp/bin/rq worker \</tt><tt><br>
</tt><tt> -w pulpcore.tasking.worker.PulpWorker -n
resource-manager@%%h \</tt><tt><br>
</tt><tt>
--pid=/var/run/pulp-resource-manager/resource-manager.pid</tt><tt><br>
</tt><tt><br>
</tt><tt>[Install]</tt><tt><br>
</tt><tt>WantedBy=multi-user.target</tt><tt><br>
</tt></p>
<p>Sincerely</p>
<p>Juan<br>
</p>
<div class="moz-signature">-- <br>
<div style="font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 8pt; font-weight: normal; color: #616365;"> <img
src="cid:part1.6E467BC0.A8F8C181@unamur.be" style="display:
block; margin: 1em 0em;">
<p style="margin: 1em;"> <span style="font-weight: bold;">Juan
CABRERA</span><br>
<span style="color: #69BE28;">Correspondant informatique</span><br>
<span>Département de Mathématiques</span> </p>
<p style="margin: 1em;">
<span style="font-weight: bold;">T.</span> 081724919<br>
<a style="color: #69BE28;"
href="mailto:juan.cabrera@unamur.be">juan.cabrera@unamur.be</a><br>
<a style="color: #69BE28;"
href="http://staff.unamur.be/jbcabrer">http://staff.unamur.be/jbcabrer</a>
</p>
<p style="margin: 1em;"> <span style="font-weight: bold;
font-size: 8pt;">Université de Namur ASBL</span><br>
<span>Rue de Bruxelles 61 - 5000 Namur</span><br>
<span>Belgique</span><br>
</p>
<p style="margin: 1em; font-size: 6pt; color: #69BE28;"> <span>Let’s
respect the environment together.</span><br>
<span style="font-weight: bold;">Only print this message if
necessary!</span><br>
</p>
</div>
</div>
</body>
</html>