$OpenBSD$

SPDX-License-Identifier: AGPL-3.0-only

Start notification service resubscriptions synchronously so service
subscriptions are ready before the server begins accepting traffic.

Index: src/Simplex/Messaging/Notifications/Server.hs
--- src/Simplex/Messaging/Notifications/Server.hs.orig
+++ src/Simplex/Messaging/Notifications/Server.hs
@@ -114,7 +114,7 @@
     liftIO $ putStrLn "Server started in 'maintenance' mode, exiting"
     stopServer
     liftIO $ exitSuccess
-  void $ forkIO $ resubscribe s
+  resubscribe s
   raceAny_
     ( ntfSubscriber s
         : periodicNtfsThread ps
