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