Unbuffered python

main
Bob Mottram 2019-11-13 17:29:31 +00:00
parent 7631a814f6
commit babeba65c1
2 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ Group=epicyon
WorkingDirectory=/opt/epicyon WorkingDirectory=/opt/epicyon
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open
Environment=USER=epicyon Environment=USER=epicyon
Environment=PYTHONUNBUFFERED=true
Restart=always Restart=always
StandardError=syslog StandardError=syslog

View File

@ -1283,6 +1283,7 @@
WorkingDirectory=/opt/epicyon<br> WorkingDirectory=/opt/epicyon<br>
ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --debug<br> ExecStart=/usr/bin/python3 /opt/epicyon/epicyon.py --port 443 --proxy 7156 --domain YOUR_DOMAIN --registration open --debug<br>
Environment=USER=epicyon<br> Environment=USER=epicyon<br>
Environment=PYTHONUNBUFFERED=true<br>
Restart=always<br> Restart=always<br>
StandardError=syslog<br> StandardError=syslog<br>
CPUQuota=80%<br> CPUQuota=80%<br>