From 91f689e395549f5a65b703f713ec76d39465a1d9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 26 Mar 2022 16:30:13 +0100 Subject: ... --- modules/certspotter.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/certspotter.nix b/modules/certspotter.nix index 51c19e26..8d49b9e9 100644 --- a/modules/certspotter.nix +++ b/modules/certspotter.nix @@ -35,7 +35,7 @@ in { systemd.services.certspotter = { serviceConfig = { Type = "oneshot"; - ExecStartPre = "${pkgs.coreutils}/bin/rm $STATE_DIRECTORY/lock"; + ExecStartPre = "${pkgs.coreutils}/bin/rm -f $STATE_DIRECTORY/lock"; ExecStart = "${cfg.package}/bin/certspotter -state_dir $STATE_DIRECTORY ${escapeShellArgs startOptions}"; StateDirectory = "certspotter"; LogsDirectory = "certspotter"; -- cgit v1.2.3