ardfbhaedrhb
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 20s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Failing after 51s
CI Feature / Report Summary (push) Has been cancelled
CI Feature / Bats tests (push) Has been cancelled
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 20s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Failing after 51s
CI Feature / Report Summary (push) Has been cancelled
CI Feature / Bats tests (push) Has been cancelled
This commit is contained in:
Binary file not shown.
@@ -1,6 +1,13 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import http.server, json, sys, os, threading
|
import http.server, json, sys, os, threading
|
||||||
|
|
||||||
|
# Daemonize: detach from parent process group
|
||||||
|
if os.fork() > 0:
|
||||||
|
sys.exit(0)
|
||||||
|
os.setsid()
|
||||||
|
if os.fork() > 0:
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
PORT = int(sys.argv[1])
|
PORT = int(sys.argv[1])
|
||||||
CONFIG = sys.argv[2]
|
CONFIG = sys.argv[2]
|
||||||
REQ_FILE = sys.argv[3]
|
REQ_FILE = sys.argv[3]
|
||||||
|
|||||||
Reference in New Issue
Block a user