charon-systemd: Add a log message when the daemon is starting

While there is a status message sent to systemd (can be seen e.g. in
systemctl status), the version etc. is currently not logged to the
journal, syslog or any log files.
This commit is contained in:
Tobias Brunner 2023-04-19 16:10:26 +02:00
parent 0bf061d737
commit d12e6c9e55

View File

@ -368,6 +368,9 @@ int main(int argc, char *argv[])
charon->load_loggers(charon);
DBG1(DBG_DMN, "Starting charon-systemd IKE daemon (strongSwan "VERSION", "
"%s %s, %s)", utsname.sysname, utsname.release, utsname.machine);
if (!charon->initialize(charon,
lib->settings->get_str(lib->settings, "%s.load", PLUGINS, lib->ns)))
{