diff options
Diffstat (limited to 'modules/certspotter.nix')
-rw-r--r-- | modules/certspotter.nix | 2 |
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"; |