commit 7e07d7b: [Minor] Log pid file on daemonise
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Jun 8 11:00:06 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-06-08 11:54:17 +0100
URL: https://github.com/rspamd/rspamd/commit/7e07d7b1d08f2ff3de9f564524a978952042e6ff (HEAD -> master)
[Minor] Log pid file on daemonise
---
src/rspamd.c | 5 +++--
1 file 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;
}
More information about the Commits
mailing list