server/certspotter: fix state path
This commit is contained in:
parent
ece8104cf2
commit
5b0b925fe3
|
@ -106,7 +106,7 @@ in {
|
|||
StateDirectory = "certspotter";
|
||||
};
|
||||
script = ''
|
||||
export CERTSPOTTER_STATE_DIR="$STATE_DIR"
|
||||
export CERTSPOTTER_STATE_DIR="$STATE_DIRECTORY"
|
||||
cd "$CERTSPOTTER_STATE_DIR"
|
||||
${pkgs.certspotter}/bin/certspotter -sendmail ${cfg.sendmailPath} ${lib.escapeShellArgs cfg.extraFlags}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue