From 60cf77e66e8d199be619a35316ae0cc236aaaa30 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 a8aa247d..61d729a9 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