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

This commit is contained in:
moilanik
2026-06-20 13:52:19 +03:00
parent a61b22d8a7
commit b5faebcaae
2 changed files with 7 additions and 0 deletions
+7
View File
@@ -1,6 +1,13 @@
#!/usr/bin/env python3
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])
CONFIG = sys.argv[2]
REQ_FILE = sys.argv[3]