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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user