$OpenBSD: patch-src_modes_daemon_daemonConfiguration_cpp,v 1.1 2021/04/27 05:27:12 rsadowski Exp $

Index: src/modes/daemon/daemonConfiguration.cpp
--- src/modes/daemon/daemonConfiguration.cpp.orig
+++ src/modes/daemon/daemonConfiguration.cpp
@@ -24,8 +24,11 @@
 DaemonConfiguration::DaemonConfiguration()
 {
     mConfiguration->setCurrentGroup(QStringLiteral("DaemonLogMode"));
-
+#if defined(__OpenBSD__)
+    const QStringList defaultDaemonPaths{QStringLiteral("/var/log/daemon")};
+#else
     const QStringList defaultDaemonPaths{QStringLiteral("/var/log/daemon.log")};
+#endif
     mConfiguration->addItemStringList(QStringLiteral("LogFilesPaths"), mDaemonPaths, defaultDaemonPaths, QStringLiteral("LogFilesPaths"));
 }
 
