summaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-08 11:54:17 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-06-08 11:54:17 +0100
commit7e07d7b1d08f2ff3de9f564524a978952042e6ff (patch)
treeb8df4443e533fab9f551e25d4a7caeb8aa6322a7 /src/rspamd.c
parentc6b5d38af657ef885fd8f5215d1bf116ff06eca2 (diff)
downloadrspamd-7e07d7b1d08f2ff3de9f564524a978952042e6ff.tar.gz
rspamd-7e07d7b1d08f2ff3de9f564524a978952042e6ff.zip
[Minor] Log pid file on daemonise
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 1d8eeaee6..cea6a11a8 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -1317,8 +1317,9 @@ rspamd_main_daemon (struct rspamd_main *rspamd_main)
}
}
- msg_info_main ("daemonized successfully; old pid %P, new pid %P",
- old_pid, getpid ());
+ msg_info_main ("daemonized successfully; old pid %P, new pid %P; pid file: %s",
+ old_pid, getpid (),
+ rspamd_main->cfg->pid_file);
return TRUE;
}