mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-11-07 19:31:58 +01:00
Update install-service.sh
Apt pinning Version 7.1.1
This commit is contained in:
parent
69d58badf3
commit
828c4a740c
@ -14,6 +14,12 @@ ONLYOFFICE_DB_PASS=$(random_password)
|
|||||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
|
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5
|
||||||
echo "deb https://download.onlyoffice.com/repo/debian squeeze main" > /etc/apt/sources.list.d/onlyoffice.list
|
echo "deb https://download.onlyoffice.com/repo/debian squeeze main" > /etc/apt/sources.list.d/onlyoffice.list
|
||||||
|
|
||||||
|
cat > /etc/apt/preferences.d/onlyoffice << EOF
|
||||||
|
Package: onlyoffice-documentserver
|
||||||
|
Pin: version 7.1.1-23
|
||||||
|
Pin-Priority: 900
|
||||||
|
EOF
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
|
|
||||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -qq postgresql rabbitmq-server libstdc++6 supervisor
|
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt install -y -qq postgresql rabbitmq-server libstdc++6 supervisor
|
||||||
@ -73,4 +79,4 @@ cat << EOF > /etc/apt/apt.conf.d/80-ods-apt-post-hook
|
|||||||
DPkg::Post-Invoke {"/usr/local/bin/ods-apt-post-hook";};
|
DPkg::Post-Invoke {"/usr/local/bin/ods-apt-post-hook";};
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
Loading…
Reference in New Issue
Block a user