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

feat(nginx): ensure acme.sh is kept up-to-date #1575

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

acburdine
Copy link
Member

No description provided.

if (isInstalled()) {
return task.skip('acme.sh is already installed');
await ui.sudo('/etc/letsencrypt/acme.sh --upgrade');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
await ui.sudo('/etc/letsencrypt/acme.sh --upgrade');
await ui.sudo('/etc/letsencrypt/acme.sh --upgrade --home "/etc/letsencrypt"');

I had an issue when upgrading where it was installed in /root. Not sure the exact root-cause, but being verbose should be ok, right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah yeah, probably a good idea

@acburdine acburdine merged commit 61f95b6 into TryGhost:1.x Oct 29, 2021
@acburdine acburdine deleted the fix/acme-update branch October 29, 2021 00:36
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

Successfully merging this pull request may close these issues.

None yet

2 participants