Fixed erros in multiple CT's
Added fixes for: Pihole , aptcacher, OmdaV3, mailbackup and nginx
This commit is contained in:
@@ -534,6 +534,7 @@ packages:
|
|||||||
- php8-iconv
|
- php8-iconv
|
||||||
- py3-pip
|
- py3-pip
|
||||||
- sudo
|
- sudo
|
||||||
|
- git
|
||||||
action: install
|
action: install
|
||||||
variants:
|
variants:
|
||||||
- mailbackup
|
- mailbackup
|
||||||
|
|||||||
@@ -1042,6 +1042,7 @@ packages:
|
|||||||
- collabora
|
- collabora
|
||||||
- jellyfin
|
- jellyfin
|
||||||
- pihole
|
- pihole
|
||||||
|
- omadaV3
|
||||||
- docker
|
- docker
|
||||||
- smb
|
- smb
|
||||||
- tvheadend
|
- tvheadend
|
||||||
@@ -1194,6 +1195,13 @@ packages:
|
|||||||
variants:
|
variants:
|
||||||
- domoticz
|
- domoticz
|
||||||
|
|
||||||
|
#OmadaV3 pkgs
|
||||||
|
- packages:
|
||||||
|
- curl
|
||||||
|
action: install
|
||||||
|
variants:
|
||||||
|
- omadaV3
|
||||||
|
|
||||||
#docker pkgs
|
#docker pkgs
|
||||||
- packages:
|
- packages:
|
||||||
- docker-ce
|
- docker-ce
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ setcap 'cap_net_bind_service=+ep' /usr/sbin/apt-cacher-ng
|
|||||||
mv /opt/Setup/Configs/acng.conf /etc/apt-cacher-ng/acng.conf
|
mv /opt/Setup/Configs/acng.conf /etc/apt-cacher-ng/acng.conf
|
||||||
mv /opt/Setup/Scripts/UpdateMirrorList.sh /opt/UpdateMirrorList.sh
|
mv /opt/Setup/Scripts/UpdateMirrorList.sh /opt/UpdateMirrorList.sh
|
||||||
#Enable apt-cacher-ng on startup
|
#Enable apt-cacher-ng on startup
|
||||||
ln -s /lib/systemd/system/apt-cacher-ng.service /etc/systemd/system/multi-user.target.wants/apt-cacher-ng.service
|
ln -s /lib/systemd/system/apt-cacher-ng.service /etc/systemd/system/multi-user.target.wants/apt-cacher-ng.service || true
|
||||||
@@ -2,10 +2,10 @@
|
|||||||
#Get Resources
|
#Get Resources
|
||||||
git clone https://git.bprieshof.nl/Tools/MailBackup-sys.git /opt/Setup/MailBackup-sys
|
git clone https://git.bprieshof.nl/Tools/MailBackup-sys.git /opt/Setup/MailBackup-sys
|
||||||
CurrentVersion=$(curl -s https://api.github.com/repos/RainLoop/rainloop-webmail/releases/latest | grep 'tag_name.*' | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " ")
|
CurrentVersion=$(curl -s https://api.github.com/repos/RainLoop/rainloop-webmail/releases/latest | grep 'tag_name.*' | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " ")
|
||||||
OfflineIMAPVer=$(curl -s https://api.github.com/repos/OfflineIMAP/offlineimap3/tags | grep 'name.*' |head -n 1 | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " ")
|
OfflineIMAPVer=$(curl -s https://api.github.com/repos/OfflineIMAP/offlineimap3/tags | grep 'name.*' |head -n 1 | cut -d : -f 2,3 | tr -d \" |tr -d , |tr -d " " |tr -d :)
|
||||||
echo $CurrentVersion > /opt/Setup/rainloop-installed
|
echo $CurrentVersion > /opt/Setup/rainloop-installed
|
||||||
curl -L --retry 7 --retry-delay 5 http://www.rainloop.net/repository/webmail/rainloop-community-latest.zip -o /opt/Setup/rlcl.zip || exit 1
|
curl -L --retry 7 --retry-delay 5 http://www.rainloop.net/repository/webmail/rainloop-community-latest.zip -o /opt/Setup/rlcl.zip || exit 1
|
||||||
echo "$OfflineIMAPVer" > CT-Files/OfflineIMAP3-installed
|
echo "$OfflineIMAPVer" > /opt/Setup/OfflineIMAP3-installed
|
||||||
curl -L --retry 7 --retry-delay 5 https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/$OfflineIMAPVer.tar.gz -o /opt/Setup/olim3.tar.gz || exit 1
|
curl -L --retry 7 --retry-delay 5 https://github.com/OfflineIMAP/offlineimap3/archive/refs/tags/$OfflineIMAPVer.tar.gz -o /opt/Setup/olim3.tar.gz || exit 1
|
||||||
|
|
||||||
#Install and configure using git.bprieshof.nl MailBackup-sys
|
#Install and configure using git.bprieshof.nl MailBackup-sys
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
#Get Resources
|
#Get Resources
|
||||||
curl -L --retry 7 --retry-delay 5 https://codeload.github.com/acmesh-official/acme.sh/tar.gz/master -o /opt/Setup/Fileacmesh.tar.gz || exit 1
|
curl -L --retry 7 --retry-delay 5 https://codeload.github.com/acmesh-official/acme.sh/tar.gz/master -o /opt/Setup/acmesh.tar.gz || exit 1
|
||||||
|
|
||||||
#Configure Nginx
|
#Configure Nginx
|
||||||
mkdir -p /etc/nginx/sites-available /etc/nginx/sites-enabled /etc/nginx/snippets /etc/nginx/modules-available /etc/nginx/modules-enabled /etc/nginx/snippets/
|
mkdir -p /etc/nginx/sites-available /etc/nginx/sites-enabled /etc/nginx/snippets /etc/nginx/modules-available /etc/nginx/modules-enabled /etc/nginx/snippets/
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ mkdir -p /etc/pihole
|
|||||||
mv /opt/Setup/Configs/setupVars.conf /etc/pihole/setupVars.conf
|
mv /opt/Setup/Configs/setupVars.conf /etc/pihole/setupVars.conf
|
||||||
echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
|
echo "DNSStubListener=no" >> /etc/systemd/resolved.conf
|
||||||
ln -s /etc/systemd/system/pihole-FTL.service /etc/systemd/system/multi-user.target.wants/pihole-FTL.service
|
ln -s /etc/systemd/system/pihole-FTL.service /etc/systemd/system/multi-user.target.wants/pihole-FTL.service
|
||||||
curl -sSL https://install.pi-hole.net | bash /dev/stdin --unattended
|
curl -sSL https://install.pi-hole.net | bash /dev/stdin --unattended || true
|
||||||
Reference in New Issue
Block a user