packages/net/uacme/files
Leonardo Mörlein b80781150b uacme: do not override production state dir variable
With this commit, issue_cert() can be called multiple times alternating
between staging and production certificates within a script.

Before this commit, the production state dir was stored in $STATE_DIR.
But in the case of $use_staging=1, this variable was overwritten in
issue_cert() with $STAGING_STATE_DIR. This made it impossible to call
issue_cert() with $use_staging=0 afterwards. Now the production state
dir is stored in $PRODUCTION_STATE_DIR. This way it is not overridden
anymore and issue_cert() can be called multiple times alternating with
production and staging.

Signed-off-by: Leonardo Mörlein <git@irrelefant.net>
2021-04-24 01:16:57 -07:00
..
acme.config uacme: add support for user-provided setup and cleanup scripts 2020-04-30 19:17:54 +03:00
acme.init uacme: add package 2019-10-10 18:55:52 +03:00
run.sh uacme: do not override production state dir variable 2021-04-24 01:16:57 -07:00