summaryrefslogtreecommitdiff
path: root/www/butterfly/files/patch-butterfly.server.py
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2017-02-13 18:00:21 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2017-02-13 18:00:21 +0000
commite6dd86cdc522258a5585c3c0ab99f4cb5b87e0cd (patch)
treec795f4154e584fa0330113aeec247953eaa9101c /www/butterfly/files/patch-butterfly.server.py
parent- Update to 0.9.2 (diff)
Butterfly is a xterm compatible terminal that runs in your browser.
Features - xterm compatible (support for a lot of unused features) - Native browser scroll and search - Theming in css/sass (18 preset themes) endless possibilities - HTML in your terminal, cat images and use <table> - Multiple sessions support - Secure authentication with X509 certificates - 16,777,216 colors support - Keyboard text selection - Desktop notifications on terminal output - Geolocation from browser - May work on firefox too WWW: https://pypi.python.org/pypi/butterfly PR: 216957 Submitted by: yuri@rawbw.com Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9533
Diffstat (limited to 'www/butterfly/files/patch-butterfly.server.py')
-rw-r--r--www/butterfly/files/patch-butterfly.server.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/www/butterfly/files/patch-butterfly.server.py b/www/butterfly/files/patch-butterfly.server.py
new file mode 100644
index 000000000000..83c065d53d70
--- /dev/null
+++ b/www/butterfly/files/patch-butterfly.server.py
@@ -0,0 +1,29 @@
+--- butterfly.server.py.orig 2017-02-10 00:08:34 UTC
++++ butterfly.server.py
+@@ -20,7 +20,7 @@
+ import tornado.options
+ import tornado.ioloop
+ import tornado.httpserver
+-import tornado_systemd
++#import tornado_systemd
+ import logging
+ import webbrowser
+ import uuid
+@@ -295,13 +295,13 @@ else:
+ from butterfly import application
+ application.butterfly_dir = butterfly_dir
+ log.info('Starting server')
+-http_server = tornado_systemd.SystemdHTTPServer(
++http_server = tornado.httpserver.HTTPServer(
+ application, ssl_options=ssl_opts)
+ http_server.listen(port, address=host)
+
+-if http_server.systemd:
+- os.environ.pop('LISTEN_PID')
+- os.environ.pop('LISTEN_FDS')
++#if http_server.systemd:
++# os.environ.pop('LISTEN_PID')
++# os.environ.pop('LISTEN_FDS')
+
+ log.info('Starting loop')
+