Originally created by @petarkozic on GitHub (Jul 10, 2017).
Hi, because this script is used on mailcow mail instances, after each renewing, Nginx stop working and mail stop receiving due to restart Nginx.
Does this script have some hooks for restarting Nginx after renewing.
Thanks!
Originally created by @petarkozic on GitHub (Jul 10, 2017).
Hi, because this script is used on mailcow mail instances, after each renewing, Nginx stop working and mail stop receiving due to restart Nginx.
Does this script have some hooks for restarting Nginx after renewing.
Thanks!
Please, if you gonna ask these questions read the documentation first. I'll answer anyway, but these already answered questions are annoying...
Basically you can use two hooks, one would be the deploy_cert hook which gets called after a new certificate has been issued (normally to copy it somewhere, but you don't need to do that, you can just reload your webserver), or you could use the exit_hook which gets called after every run (for a small webserver which probably is only used for some webmail and the challenge tokens a reload a week probably won't hurt anybody).
@lukas2511 commented on GitHub (Jul 10, 2017):
Please, if you gonna ask these questions read the documentation first. I'll answer anyway, but these already answered questions are annoying...
Basically you can use two hooks, one would be the `deploy_cert` hook which gets called after a new certificate has been issued (normally to copy it somewhere, but you don't need to do that, you can just reload your webserver), or you could use the `exit_hook` which gets called after every run (for a small webserver which probably is only used for some webmail and the challenge tokens a reload a week probably won't hurt anybody).
@lukas2511
Thank you lukas on answer.
Sorry for spam !
I know, you close this issue, but I read documentation and I don't understand how to integrate that. I'm newbie, I'm using mailcow instance with yours script and config file.
Please, if you can help me how to integrate this.
@petarkozic commented on GitHub (Jul 10, 2017):
@lukas2511
Thank you lukas on answer.
Sorry for spam !
I know, you close this issue, but I read documentation and I don't understand how to integrate that. I'm newbie, I'm using mailcow instance with yours script and config file.
Please, if you can help me how to integrate this.
@petarkozic I would suggest using the example hook in the documentation, and customizing the desired function from there. Make sure the function is white-listed and the hook is set correctly in your config / calling script.
@txr13 commented on GitHub (Jul 12, 2017):
@petarkozic I would suggest using the example hook in the documentation, and customizing the desired function from there. Make sure the function is white-listed and the hook is set correctly in your config / calling script.
@petarkozic sorry I'll not be holding your hand going through this, I'd recommend reading the documentation and looking at howtos and examples that other people already published
@lukas2511 commented on GitHub (Jul 12, 2017):
@petarkozic sorry I'll not be holding your hand going through this, I'd recommend reading the documentation and looking at howtos and examples that other people already published
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @petarkozic on GitHub (Jul 10, 2017).
Hi, because this script is used on mailcow mail instances, after each renewing, Nginx stop working and mail stop receiving due to restart Nginx.
Does this script have some hooks for restarting Nginx after renewing.
Thanks!
@lukas2511 commented on GitHub (Jul 10, 2017):
Please, if you gonna ask these questions read the documentation first. I'll answer anyway, but these already answered questions are annoying...
Basically you can use two hooks, one would be the
deploy_certhook which gets called after a new certificate has been issued (normally to copy it somewhere, but you don't need to do that, you can just reload your webserver), or you could use theexit_hookwhich gets called after every run (for a small webserver which probably is only used for some webmail and the challenge tokens a reload a week probably won't hurt anybody).@petarkozic commented on GitHub (Jul 10, 2017):
@lukas2511
Thank you lukas on answer.
Sorry for spam !
I know, you close this issue, but I read documentation and I don't understand how to integrate that. I'm newbie, I'm using mailcow instance with yours script and config file.
Please, if you can help me how to integrate this.
@petarkozic commented on GitHub (Jul 12, 2017):
@lukas2511
Please, can you give me answer ?
@txr13 commented on GitHub (Jul 12, 2017):
@petarkozic I would suggest using the example hook in the documentation, and customizing the desired function from there. Make sure the function is white-listed and the hook is set correctly in your config / calling script.
@lukas2511 commented on GitHub (Jul 12, 2017):
@petarkozic sorry I'll not be holding your hand going through this, I'd recommend reading the documentation and looking at howtos and examples that other people already published