|
|
@ -165,9 +165,8 @@ EOF
|
|
|
|
msg_info "Starting Services"
|
|
|
|
msg_info "Starting Services"
|
|
|
|
sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf
|
|
|
|
sed -i -e 's/^pid/#pid/' -e 's/npmuser/root/' /usr/local/openresty/nginx/conf/nginx.conf
|
|
|
|
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
|
|
|
|
sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' /opt/certbot/pyvenv.cfg
|
|
|
|
systemctl enable npm &>/dev/null
|
|
|
|
systemctl enable -q --now openresty
|
|
|
|
systemctl start openresty
|
|
|
|
systemctl enable -q --now npm
|
|
|
|
systemctl start npm
|
|
|
|
|
|
|
|
msg_ok "Started Services"
|
|
|
|
msg_ok "Started Services"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Cleaning up"
|
|
|
|
msg_info "Cleaning up"
|
|
|
|