Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNIKKET_CERTBOT_OPTIONS: unbound variable #12

Open
dashohoxha opened this issue Feb 18, 2024 · 0 comments
Open

SNIKKET_CERTBOT_OPTIONS: unbound variable #12

dashohoxha opened this issue Feb 18, 2024 · 0 comments

Comments

@dashohoxha
Copy link

Problem:

/etc/cron.daily/certbot: line 18: SNIKKET_CERTBOT_OPTIONS: unbound variable

Solution:

  • Either remove set -ueo pipefail, which makes no sense in a scripts that is executed automatically (in my opinion),
  • or use the variable with an empty default value, like this: ${SNIKKET_CERTBOT_OPTIONS:-}

For the time being, a workaround is to add SNIKKET_CERTBOT_OPTIONS= to snikket.conf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant