summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-03-26 16:30:13 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-03-26 16:30:13 +0100
commit91f689e395549f5a65b703f713ec76d39465a1d9 (patch)
tree867697d62c6f11b8ea612b0173ffcc44cb8e0167
parent02dbb4bcd43c8b0bbbfcb00e3995e80cba57a854 (diff)
downloadnixos-91f689e395549f5a65b703f713ec76d39465a1d9.tar
nixos-91f689e395549f5a65b703f713ec76d39465a1d9.tar.gz
nixos-91f689e395549f5a65b703f713ec76d39465a1d9.tar.bz2
nixos-91f689e395549f5a65b703f713ec76d39465a1d9.tar.xz
nixos-91f689e395549f5a65b703f713ec76d39465a1d9.zip
...
-rw-r--r--modules/certspotter.nix2
1 files changed, 1 insertions, 1 deletions
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 {
35 systemd.services.certspotter = { 35 systemd.services.certspotter = {
36 serviceConfig = { 36 serviceConfig = {
37 Type = "oneshot"; 37 Type = "oneshot";
38 ExecStartPre = "${pkgs.coreutils}/bin/rm $STATE_DIRECTORY/lock"; 38 ExecStartPre = "${pkgs.coreutils}/bin/rm -f $STATE_DIRECTORY/lock";
39 ExecStart = "${cfg.package}/bin/certspotter -state_dir $STATE_DIRECTORY ${escapeShellArgs startOptions}"; 39 ExecStart = "${cfg.package}/bin/certspotter -state_dir $STATE_DIRECTORY ${escapeShellArgs startOptions}";
40 StateDirectory = "certspotter"; 40 StateDirectory = "certspotter";
41 LogsDirectory = "certspotter"; 41 LogsDirectory = "certspotter";