summaryrefslogtreecommitdiff
path: root/server/src/daemon.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/daemon.cc')
-rw-r--r--server/src/daemon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/daemon.cc b/server/src/daemon.cc
index 655a234..6aed66e 100644
--- a/server/src/daemon.cc
+++ b/server/src/daemon.cc
@@ -153,7 +153,7 @@ int Daemon::run(const char *user, const char* group, bool detach)
setsid();
signal (SIGTERM, SIG_IGN);
- signal (SIGHUP, SIG_IGN);
+ // signal (SIGHUP, SIG_IGN);
if(detach) signal (SIGINT, SIG_IGN); // Don't disable Ctrl+c when running in foreground.
return daemon_main();