mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
fix zombie processes
Temporary fix for zombie processes.
This commit is contained in:
parent
2aa0d17db5
commit
ce9498d06d
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ import sys
|
||||||
import logging
|
import logging
|
||||||
import django
|
import django
|
||||||
|
|
||||||
|
import signal
|
||||||
|
signal.signal(signal.SIGCHLD, signal.SIG_IGN)
|
||||||
|
|
||||||
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
|
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||||
ROOT_PATH = os.path.abspath(os.path.join(DIR_PATH, "..", ""))
|
ROOT_PATH = os.path.abspath(os.path.join(DIR_PATH, "..", ""))
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings")
|
||||||
|
|
Loading…
Reference in a new issue