Rename http to rest due to wierd issue in bottle

This commit is contained in:
gryf committed 2019-11-01 08:19:51 +01:00
1 parent 372b525715
commit 7297f8cf8b
2 files changed
+3 -3

No files matched your search

View File
File renamed without changes.
+3 -3
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()