mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 15:13:36 +00:00
Remove systemd socket env vars to not fail other systemd compatible daemons launched inside butterfly
This commit is contained in:
@@ -228,6 +228,10 @@ http_server.listen(port, address=host)
|
||||
url = "http%s://%s:%d/*" % (
|
||||
"s" if not tornado.options.options.unsecure else "", host, port)
|
||||
|
||||
if http_server.systemd:
|
||||
os.environ.pop('LISTEN_PID')
|
||||
os.environ.pop('LISTEN_FDS')
|
||||
|
||||
# This is for debugging purpose
|
||||
try:
|
||||
from wsreload.client import sporadic_reload, watch
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
__version__ = '1.5.5'
|
||||
__version__ = '1.5.6'
|
||||
|
||||
|
||||
import os
|
||||
|
||||
Reference in New Issue
Block a user