Added support for ProxmoxHelper App updater

This commit is contained in:
2022-06-23 12:22:42 +02:00
parent b8533ab3b3
commit b528003e18
12 changed files with 47 additions and 1 deletions

View File

@@ -670,6 +670,14 @@ actions:
- heimdall
- vouchproxy
#Move App update script for ProxmoxHelper/ProxMoxToolKit, if CT has this script
- trigger: post-files
action: |-
#!/bin/sh
if test -f /opt/Setup/Scripts/PTKAppUpdate.sh ; then
mv /opt/Setup/Scripts/PTKAppUpdate.sh /opt/ProxMoxToolKitAppUpdate.sh
fi
# Enable service for iscsi CT
- trigger: post-files
action: |-

View File

@@ -1462,6 +1462,15 @@ actions:
- nfs
- duplicati
#Move App update script for ProxmoxHelper/ProxMoxToolKit, if CT has this script
- trigger: post-files
action: |-
#!/bin/sh
if test -f /opt/Setup/Scripts/PTKAppUpdate.sh ; then
mv /opt/Setup/Scripts/PTKAppUpdate.sh /opt/ProxMoxToolKitAppUpdate.sh
fi
#Setup jenkins user for node CT
- trigger: post-packages
action: |-
#!/bin/sh

View File

@@ -6,13 +6,14 @@ while true; do
[Cc]* )
docker pull portainer/portainer-ce
docker run -d -p 9000:9000 --name=Portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /srv/portainer:/data portainer/portainer-ce
mv /opt/Setup/Scripts/PTKPortainerUpdate.sh /opt/ProxMoxToolKitAppUpdate.sh
mv /opt/Setup/Scripts/UpdatePortainer.sh /root/UpdatePortainer.sh
echo "Portainer avalible on http://<ip>:9000"
break;;
[Rr]* )
mkdir -p /etc/systemd/system/docker.service.d
mv /opt/Setup/Configs/remote-dockerOverwrite.service /etc/systemd/system/docker.service.d/startup_options.conf
rm /opt/Setup/Scripts/UpdatePortainer.sh
rm /opt/Setup/Scripts/UpdatePortainer.sh /opt/Setup/Scripts/PTKPortainerUpdate.sh
systemctl daemon-reload
systemctl restart docker.service
echo "DockerTCP Socket avalible on port 2375"

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
bash /root/UpdatePortainer.sh

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
bash /opt/UpdateDuplicati.sh

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
ash /opt/updateElkarbackup.sh

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
ash /opt/UpdateGitea.sh

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
ash /opt/UpdateHASS.sh

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
bash /opt/UpdatePhpMyadmin.sh

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
sudo -u nginx php8 /opt/nextcloud/updater/updater.phar --no-interaction

View File

@@ -0,0 +1,3 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
ash /opt/Update-NodeRed.sh

View File

@@ -0,0 +1,4 @@
#!/bin/sh
# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit
ash /opt/Update-Zigbee2Mqtt.sh
ash /opt/Update-Zwave2Mqtt.sh