summary refs log tree commit diff
path: root/fleet
diff options
context:
space:
mode:
Diffstat (limited to 'fleet')
-rw-r--r--fleet/modules/public-inbox.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/fleet/modules/public-inbox.nix b/fleet/modules/public-inbox.nix
index 5c69fba..82241af 100644
--- a/fleet/modules/public-inbox.nix
+++ b/fleet/modules/public-inbox.nix
@@ -126,7 +126,12 @@ in {
 
     systemd.services.public-inbox-httpd = {
       description = "public-inbox mailing-list archive (web server)";
+
+      requires = [ "public-inbox-httpd.socket" ];
+      after = [ "public-inbox-httpd.socket" ];
+
       inherit environment;
+
       serviceConfig = {
         ExecStart = "${pkgs.public-inbox}/bin/public-inbox-httpd";
         DynamicUser = true;