From 10a38cdf6d60378839040581d289c79ce8265ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Thu, 5 Sep 2024 15:32:34 +0200 Subject: [PATCH] Make `ensure-garage` a oneshot service --- garage.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/garage.nix b/garage.nix index a8aa247..61d729a 100644 --- a/garage.nix +++ b/garage.nix @@ -166,6 +166,9 @@ in { systemd.services.ensure-garage = { after = [ "garage.service" ]; wantedBy = [ "garage.service" ]; + serviceConfig = { + Type = "oneshot"; + }; path = [ cfg.package pkgs.perl pkgs.awscli ]; script = '' set -xeuo pipefail