deamon fix

This commit is contained in:
2023-03-23 00:36:10 +03:00
parent 494b2190a7
commit 89f3d073d9
3 changed files with 6 additions and 5 deletions

View File

@ -40,7 +40,7 @@ class Daemon:
sys.exit(1)
# decouple from parent environment
os.chdir('/')
# os.chdir('/')
os.setsid()
os.umask(0)