mirror of https://gitlab.com/bashrc2/epicyon
Update documentation for binding to an IP address
parent
5ce8e1e101
commit
4ad92bb6d8
|
@ -116,7 +116,7 @@ Type=simple
|
|||
User=epicyon
|
||||
Group=epicyon
|
||||
WorkingDirectory=/opt/epicyon
|
||||
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --log_login_failures
|
||||
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --bind 0.0.0.0 --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --log_login_failures
|
||||
Environment=USER=epicyon
|
||||
Environment=PYTHONUNBUFFERED=true
|
||||
Environment=PYTHONIOENCODING=utf-8
|
||||
|
|
|
@ -213,7 +213,7 @@ echo 'Creating Epicyon daemon'
|
|||
echo "User=$username";
|
||||
echo "Group=$username";
|
||||
echo "WorkingDirectory=${install_destination}";
|
||||
echo "ExecStart=/usr/bin/python3 ${install_destination}/epicyon.py --http --i2p --port 80 --proxy ${EPICYON_PORT} --domain ${I2P_DOMAIN} --registration open";
|
||||
echo "ExecStart=/usr/bin/python3 ${install_destination}/epicyon.py --http --i2p --bind 0.0.0.0 --port 80 --proxy ${EPICYON_PORT} --domain ${I2P_DOMAIN} --registration open";
|
||||
echo "Environment=USER=$username";
|
||||
echo 'Environment=PYTHONUNBUFFERED=true';
|
||||
echo 'Environment=PYTHONIOENCODING=utf-8';
|
||||
|
|
|
@ -133,7 +133,7 @@ echo 'Creating Epicyon daemon'
|
|||
echo "User=$username";
|
||||
echo "Group=$username";
|
||||
echo "WorkingDirectory=${install_destination}";
|
||||
echo "ExecStart=/usr/bin/python3 ${install_destination}/epicyon.py --http --port 80 --proxy ${EPICYON_PORT} --domain ${ONION_DOMAIN} --registration open";
|
||||
echo "ExecStart=/usr/bin/python3 ${install_destination}/epicyon.py --http --bind 0.0.0.0 --port 80 --proxy ${EPICYON_PORT} --domain ${ONION_DOMAIN} --registration open";
|
||||
echo "Environment=USER=$username";
|
||||
echo 'Environment=PYTHONUNBUFFERED=true';
|
||||
echo 'Environment=PYTHONIOENCODING=utf-8';
|
||||
|
|
Binary file not shown.
|
@ -154,7 +154,7 @@ class="sourceCode bash"><code class="sourceCode bash"><span id="cb6-1"><a href="
|
|||
<span id="cb6-8"><a href="#cb6-8" aria-hidden="true" tabindex="-1"></a><span class="va">User</span><span class="op">=</span>epicyon</span>
|
||||
<span id="cb6-9"><a href="#cb6-9" aria-hidden="true" tabindex="-1"></a><span class="va">Group</span><span class="op">=</span>epicyon</span>
|
||||
<span id="cb6-10"><a href="#cb6-10" aria-hidden="true" tabindex="-1"></a><span class="va">WorkingDirectory</span><span class="op">=</span>/opt/epicyon</span>
|
||||
<span id="cb6-11"><a href="#cb6-11" aria-hidden="true" tabindex="-1"></a><span class="va">ExecStart</span><span class="op">=</span>/usr/bin/python3 <span class="ex">/opt/epicyon/epicyon.py</span> <span class="at">--port</span> 443 <span class="at">--proxy</span> 7156 <span class="at">--domain</span> YOUR_DOMAIN <span class="at">--registration</span> open <span class="at">--log_login_failures</span></span>
|
||||
<span id="cb6-11"><a href="#cb6-11" aria-hidden="true" tabindex="-1"></a><span class="va">ExecStart</span><span class="op">=</span>/usr/bin/python3 <span class="ex">/opt/epicyon/epicyon.py</span> <span class="at">--bind</span> 0.0.0.0 <span class="at">--port</span> 443 <span class="at">--proxy</span> 7156 <span class="at">--domain</span> YOUR_DOMAIN <span class="at">--registration</span> open <span class="at">--log_login_failures</span></span>
|
||||
<span id="cb6-12"><a href="#cb6-12" aria-hidden="true" tabindex="-1"></a><span class="va">Environment</span><span class="op">=</span>USER=epicyon</span>
|
||||
<span id="cb6-13"><a href="#cb6-13" aria-hidden="true" tabindex="-1"></a><span class="va">Environment</span><span class="op">=</span>PYTHONUNBUFFERED=true</span>
|
||||
<span id="cb6-14"><a href="#cb6-14" aria-hidden="true" tabindex="-1"></a><span class="va">Environment</span><span class="op">=</span>PYTHONIOENCODING=utf-8</span>
|
||||
|
|
|
@ -93,7 +93,7 @@ Type=simple
|
|||
User=epicyon
|
||||
Group=epicyon
|
||||
WorkingDirectory=/opt/epicyon
|
||||
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --log_login_failures
|
||||
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --bind 0.0.0.0 --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --log_login_failures
|
||||
Environment=USER=epicyon
|
||||
Environment=PYTHONUNBUFFERED=true
|
||||
Environment=PYTHONIOENCODING=utf-8
|
||||
|
|
Loading…
Reference in New Issue