File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ use_lets_encrypt_certificates() {
1414 echo " switching webserver to use Let's Encrypt certificate for $1 "
1515 sed ' s/#LoadModule/LoadModule/' $3 /extra/httpd-vhosts.conf > $3 /extra/httpd-vhosts.conf.bak
1616 sed ' s/example.com/' $1 ' /g' $3 /extra/httpd-ssl.conf > $3 /extra/httpd-ssl.conf.bak
17- sed ' /^#\(.*\)httpd-ssl\.conf/ s/^#//' $3 /httpd.conf > $3 /httpd.conf.bak
17+ sed ' /^#\(.*\)httpd-ssl\.conf/ s/^#//' $3 /httpd.conf > $3 /httpd.conf.bak
1818}
1919
2020reload_webserver () {
@@ -23,7 +23,7 @@ reload_webserver() {
2323 cp $1 /httpd.conf.bak $1 /httpd.conf
2424 rm $1 /extra/httpd-ssl.conf.bak
2525 rm $1 /extra/httpd-vhosts.conf.bak
26- rm $1 /httpd.conf.bak
26+ rm $1 /httpd.conf.bak
2727 echo " Starting webserver apache2 service"
2828 httpd -t
2929}
You can’t perform that action at this time.
0 commit comments