L lsqtwrk Administrator Apr 23, 2020 #21 Apr 23, 2020 #21 Hi, I see in certbot doc , the hook their example is use script , could you please save it into bash script and hook it up ? Code: #!/bin/bash /usr/local/lsws/bin/lswsctrl stop systemctl stop lsws systemctl start lsws Best regards,
Hi, I see in certbot doc , the hook their example is use script , could you please save it into bash script and hook it up ? Code: #!/bin/bash /usr/local/lsws/bin/lswsctrl stop systemctl stop lsws systemctl start lsws Best regards,
alexw1980 New Member Apr 23, 2020 #22 Apr 23, 2020 #22 Hi thanks, sorry but i don't understand the instructions.
L lsqtwrk Administrator Apr 23, 2020 #23 Apr 23, 2020 #23 please try --manual-cleanup-hook /path/to/http/cleanup.sh where cleanup.sh use the content i posted early.
please try --manual-cleanup-hook /path/to/http/cleanup.sh where cleanup.sh use the content i posted early.
alexw1980 New Member Apr 23, 2020 #24 Apr 23, 2020 #24 I typed in --manual-cleanup-hook /path/to/http/cleanup.sh but returned --manual-cleanup-hook: command not found
I typed in --manual-cleanup-hook /path/to/http/cleanup.sh but returned --manual-cleanup-hook: command not found
alexw1980 New Member Apr 23, 2020 #26 Apr 23, 2020 #26 this one --manual-cleanup-hook /path/to/http/cleanup.sh Click to expand...
L lsqtwrk Administrator Apr 23, 2020 #27 Apr 23, 2020 #27 no that /path/to/http/cleanup.sh is not real path , you need to adapt it to where you save that script I asked you to create.
no that /path/to/http/cleanup.sh is not real path , you need to adapt it to where you save that script I asked you to create.
alexw1980 New Member Apr 23, 2020 #28 Apr 23, 2020 #28 sorry, not familiar with bash scripting yet. How do create the script?
L lsqtwrk Administrator Apr 23, 2020 #29 Apr 23, 2020 #29 you can create shell script file by vi , vim or nano ...etc , any text editor ought do it you can also create it in your local computer , then upload it , make sure the script has execute permission.
you can create shell script file by vi , vim or nano ...etc , any text editor ought do it you can also create it in your local computer , then upload it , make sure the script has execute permission.
alexw1980 New Member Apr 23, 2020 #31 Apr 23, 2020 #31 Hi I'm creating and saving this script correct? Code: #!/bin/bash /usr/local/lsws/bin/lswsctrl stop systemctl stop lsws systemctl start lsws
Hi I'm creating and saving this script correct? Code: #!/bin/bash /usr/local/lsws/bin/lswsctrl stop systemctl stop lsws systemctl start lsws
alexw1980 New Member Apr 24, 2020 #32 Apr 24, 2020 #32 hi, not sure what happened but now I'm getting Error 521 (on cloudflare)