-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nixos/acme: Fix postRun in acme certificate being ran at every run #85366
nixos/acme: Fix postRun in acme certificate being ran at every run #85366
Conversation
@@ -336,7 +338,10 @@ in | |||
chmod ${fileMode} *.pem | |||
chown '${data.user}:${data.group}' *.pem | |||
|
|||
${data.postRun} | |||
if [ "$KEY_CHANGED" = "yes" ]; then | |||
: # noop in case postRun is empty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this :
a typo or is this a bash-ism
i dont know?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s a bash-ism you don’t know :)
It’s noop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I may replace it with a better-known true
if you’re more comfortable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine
@GrahamcOfBorg test acme |
The commit message doesn't match contribution guidelines. Should be like |
fae2bd6
to
e551bde
Compare
Updated @worldofpeace |
@immae I think you forgot to use |
(cherry picked from commit 8e88b8d)
e551bde
to
ed20edf
Compare
No, it’s just not in my practices. I fixed that |
Motivation for this change
Backport of #85365 to 20.03
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)