summary refs log tree commit diff
path: root/fleet
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2021-08-21 07:21:04 +0200
committeredef <edef@unfathomable.blue>2021-08-21 07:21:04 +0200
commitc03ab393b05b35330cd5f2273c4798c512e515e9 (patch)
tree18bb12e39f16d14702ac55cc811fa0ba3490b549 /fleet
parentec4ff9199b75926fc0bed56f027035446ae7d021 (diff)
fleet/hosts/trieste/naut: fix proxy service dependency
This ensures that only a single instance can be running, and allows the
socket and service to be restarted together.

Change-Id: Iaa7a2f36705996458d0c7af692151bba6209c028
Diffstat (limited to 'fleet')
-rw-r--r--fleet/hosts/trieste/naut.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/fleet/hosts/trieste/naut.nix b/fleet/hosts/trieste/naut.nix
index 85a9a5e..bd3bf06 100644
--- a/fleet/hosts/trieste/naut.nix
+++ b/fleet/hosts/trieste/naut.nix
@@ -19,6 +19,7 @@ in {
   };
 
   systemd.services.naut-proxy = {
+    requires = [ "naut-proxy.socket" ];
     serviceConfig.ExecStart = "${pkgs.systemd}/lib/systemd/systemd-socket-proxyd ${socket}";
   };