1
0
mirror of https://github.com/gryf/ferrit.git synced 2026-02-07 08:45:53 +01:00

Rename http to rest due to wierd issue in bottle

This commit is contained in:
2019-10-28 20:00:05 +01:00
parent 372b525715
commit 7297f8cf8b
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import os
import tempfile
from ferrit import ssh
from ferrit import http
from ferrit import rest
def main():
@@ -13,12 +13,12 @@ def main():
os.unlink(fifo)
os.mkfifo(fifo)
ssh.FIFO = fifo
http.FIFO = fifo
rest.FIFO = fifo
try:
p1 = multiprocessing.Process(target=ssh.main)
p1.daemon = True
p1.start()
p2 = multiprocessing.Process(target=http.main)
p2 = multiprocessing.Process(target=rest.main)
p2.daemon = False
p2.start()