mirror of
https://git.bashclub.org/bashclub/zamba-lxc-toolbox.git
synced 2025-08-15 07:02:40 +02:00
Update install-service.sh
Apt pinning Version 7.1.1
This commit is contained in:
parent
69d58badf3
commit
828c4a740c
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue