mirror of
https://github.com/retspen/webvirtcloud
synced 2024-10-31 19:44:16 +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 django
|
||||
|
||||
import signal
|
||||
signal.signal(signal.SIGCHLD, signal.SIG_IGN)
|
||||
|
||||
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||
ROOT_PATH = os.path.abspath(os.path.join(DIR_PATH, "..", ""))
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings")
|
||||
|
|
Loading…
Reference in a new issue