From cc016c9b05ddb44bc11e389dc97126f1f62b2e93 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (on Debian Linux)" <rob@synchro.net>
Date: Sat, 9 Sep 2023 09:45:05 -0700
Subject: [PATCH] Change NotifyAccess from "main" to "all"

sd_notify() is called from other threads (PIDs), so we've been getting
syslog warnings abouts this and I hadn't noticed:

systemd[1]: sbbs.service: Got notification message from PID 2555007, but reception only permitted for main PID which is currently not known

As pointed out by Accession (PHARCYDE) on DOVE-Net.
---
 install/systemd/sbbs.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/systemd/sbbs.service b/install/systemd/sbbs.service
index a14d95c787..80d6f2a2a9 100644
--- a/install/systemd/sbbs.service
+++ b/install/systemd/sbbs.service
@@ -22,7 +22,7 @@ After=syslog.target network-online.target
 
 [Service]
 Type=forking
-NotifyAccess=main
+NotifyAccess=all
 Environment=SBBSCTRL=/sbbs/ctrl
 User=sbbs
 Group=sbbs
-- 
GitLab