diff options
Diffstat (limited to 'src/daemon.hpp')
-rw-r--r-- | src/daemon.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon.hpp b/src/daemon.hpp index d4002ec..850f57a 100644 --- a/src/daemon.hpp +++ b/src/daemon.hpp @@ -160,6 +160,8 @@ void daemonize() pidFile << pid; pidFile.close(); } + + setpgid(0, 0); } #endif #endif |