summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util/server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util/server.c b/src/util/server.c
index d55e971b..39177d38 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -228,7 +228,8 @@ void sig_term(int sig)
kill(-getpgrp(), SIGTERM);
}
#endif
- exit(0);
+ sss_log(SSS_LOG_INFO, "Shutting down");
+ exit(0);
}
#ifndef HAVE_PRCTL
@@ -463,6 +464,8 @@ int server_setup(const char *name, int flags,
}
}
+ sss_log(SSS_LOG_INFO, "Starting up");
+
DEBUG(3, ("CONFDB: %s\n", conf_db));
if (flags & FLAGS_INTERACTIVE) {