mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
10deb58fcb
...
f74869108c
Author | SHA1 | Date |
---|---|---|
|
f74869108c | |
|
13e65979ee |
|
@ -165,9 +165,8 @@ EOF
|
|||
msg_info "Starting Services"
|
||||
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
|
||||
systemctl enable npm &>/dev/null
|
||||
systemctl start openresty
|
||||
systemctl start npm
|
||||
systemctl enable -q --now openresty
|
||||
systemctl enable -q --now npm
|
||||
msg_ok "Started Services"
|
||||
|
||||
msg_info "Cleaning up"
|
||||
|
|
|
@ -45,7 +45,7 @@ function update_container() {
|
|||
alpine) pct exec "$container" -- ash -c "apk update && apk upgrade" ;;
|
||||
archlinux) pct exec "$container" -- bash -c "pacman -Syyu --noconfirm";;
|
||||
fedora|rocky|centos|alma) pct exec "$container" -- bash -c "dnf -y update && dnf -y upgrade" ;;
|
||||
ubuntu|debian|devuan) pct exec "$container" -- bash -c "apt-get update && apt-get -y dist-upgrade" ;;
|
||||
ubuntu|debian|devuan) pct exec "$container" -- bash -c "apt-get update 2>/dev/null | grep 'packages.*upgraded'; apt list --upgradable && apt-get -y dist-upgrade" ;;
|
||||
esac
|
||||
}
|
||||
header_info
|
||||
|
|
Loading…
Reference in New Issue