]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Log pid file on daemonise
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 8 Jun 2021 10:54:17 +0000 (11:54 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 8 Jun 2021 10:54:17 +0000 (11:54 +0100)
src/rspamd.c

index 1d8eeaee6d79086d5eed42a4dd3d9a4781917f43..cea6a11a87d98c157747d7425c5984b4dd9bbd14 100644 (file)
@@ -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;
 }