summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-08-31 21:38:23 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2023-11-23 02:26:51 +0100
commit8a968c62b73b10d079204ea10968383a063b0141 (patch)
tree2f1cc39e742edbfb310a1e68b1699d3fdf47f734 /sysdep/unix/main.c
parent7281db26f623ec2fdd0c5080592e641b8a70ffdc (diff)
Unix: debug
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r--sysdep/unix/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index e4d7f925..1df811e7 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -606,6 +606,7 @@ unlink_pid_file(void)
void
cmd_shutdown(void)
{
+ log_msg(L_INFO "cmd_shutdown");
if (cli_access_restricted())
return;
@@ -616,6 +617,7 @@ cmd_shutdown(void)
void
async_shutdown(void)
{
+ log_msg(L_INFO "async_shutdown");
DBG("Shutting down...\n");
order_shutdown(0);
}
@@ -623,6 +625,7 @@ async_shutdown(void)
void
sysdep_shutdown_done(void)
{
+ log_msg(L_INFO "sysdep_shutdown_done");
unlink_pid_file();
unlink(path_control_socket);
log_msg(L_FATAL "Shutdown completed");