summary refs log tree commit diff
path: root/fleet
diff options
context:
space:
mode:
authorV <v@unfathomable.blue>2021-08-17 03:14:25 +0200
committerV <v@unfathomable.blue>2021-08-17 05:23:36 +0200
commit95f9cef0262185f985a8c1bb81e4d4cb0d0f50d3 (patch)
treea3d7c690721899920d03fe760e91308fb62e9572 /fleet
parent0e47f8ca3f437a41a565931ce71630bdfbaad363 (diff)
downloadunf-legacy-95f9cef0262185f985a8c1bb81e4d4cb0d0f50d3.tar.zst
fleet/modules/public-inbox: set NonBlocking on the httpd service
For whatever reason, it complains if you don't provide this. It will
then set O_NONBLOCK by itself, so I'm not really sure what the point is.

Change-Id: Iec21e48f027a9782625f5fbbe539a8a7ccc04e2c
Diffstat (limited to 'fleet')
-rw-r--r--fleet/modules/public-inbox.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/fleet/modules/public-inbox.nix b/fleet/modules/public-inbox.nix
index 82241af..32d99f3 100644
--- a/fleet/modules/public-inbox.nix
+++ b/fleet/modules/public-inbox.nix
@@ -136,6 +136,7 @@ in {
         ExecStart = "${pkgs.public-inbox}/bin/public-inbox-httpd";
         DynamicUser = true;
         SupplementaryGroups = [ "public-inbox" ];
+        NonBlocking = true;  # "to avoid stalled processes when multiple service instances start"
       };
     };
   };