diff --git a/CT-Build/Alpine.yaml b/CT-Build/Alpine.yaml index b3139ee..06be2b0 100644 --- a/CT-Build/Alpine.yaml +++ b/CT-Build/Alpine.yaml @@ -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: |- diff --git a/CT-Build/Debian.yaml b/CT-Build/Debian.yaml index 65ee064..f9b1a90 100644 --- a/CT-Build/Debian.yaml +++ b/CT-Build/Debian.yaml @@ -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 diff --git a/CT-Files/docker/Scripts/FirstRun.sh b/CT-Files/docker/Scripts/FirstRun.sh index 7d9ccec..320d95b 100644 --- a/CT-Files/docker/Scripts/FirstRun.sh +++ b/CT-Files/docker/Scripts/FirstRun.sh @@ -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://: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" diff --git a/CT-Files/docker/Scripts/PTKPortainerUpdate.sh b/CT-Files/docker/Scripts/PTKPortainerUpdate.sh new file mode 100644 index 0000000..8435f7a --- /dev/null +++ b/CT-Files/docker/Scripts/PTKPortainerUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +bash /root/UpdatePortainer.sh \ No newline at end of file diff --git a/CT-Files/duplicati/Scripts/PTKAppUpdate.sh b/CT-Files/duplicati/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..7c94800 --- /dev/null +++ b/CT-Files/duplicati/Scripts/PTKAppUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +bash /opt/UpdateDuplicati.sh \ No newline at end of file diff --git a/CT-Files/elkarbackupALP/Scripts/PTKAppUpdate.sh b/CT-Files/elkarbackupALP/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..8309d20 --- /dev/null +++ b/CT-Files/elkarbackupALP/Scripts/PTKAppUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +ash /opt/updateElkarbackup.sh \ No newline at end of file diff --git a/CT-Files/gitea/Scripts/PTKAppUpdate.sh b/CT-Files/gitea/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..e7d1a20 --- /dev/null +++ b/CT-Files/gitea/Scripts/PTKAppUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +ash /opt/UpdateGitea.sh \ No newline at end of file diff --git a/CT-Files/hass/Scripts/PTKAppUpdate.sh b/CT-Files/hass/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..d6f5780 --- /dev/null +++ b/CT-Files/hass/Scripts/PTKAppUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +ash /opt/UpdateHASS.sh \ No newline at end of file diff --git a/CT-Files/mysql/Scripts/PTKAppUpdate.sh b/CT-Files/mysql/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..f16d824 --- /dev/null +++ b/CT-Files/mysql/Scripts/PTKAppUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +bash /opt/UpdatePhpMyadmin.sh \ No newline at end of file diff --git a/CT-Files/nextcloud/Scripts/PTKAppUpdate.sh b/CT-Files/nextcloud/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..ae41326 --- /dev/null +++ b/CT-Files/nextcloud/Scripts/PTKAppUpdate.sh @@ -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 \ No newline at end of file diff --git a/CT-Files/nodered/Scripts/PTKAppUpdate.sh b/CT-Files/nodered/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..3a8e133 --- /dev/null +++ b/CT-Files/nodered/Scripts/PTKAppUpdate.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +ash /opt/Update-NodeRed.sh \ No newline at end of file diff --git a/CT-Files/z2mqtt/Scripts/PTKAppUpdate.sh b/CT-Files/z2mqtt/Scripts/PTKAppUpdate.sh new file mode 100644 index 0000000..71ab6b6 --- /dev/null +++ b/CT-Files/z2mqtt/Scripts/PTKAppUpdate.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# Update script for updating apps with ProxmoxHelper/ProxMoxToolKit +ash /opt/Update-Zigbee2Mqtt.sh +ash /opt/Update-Zwave2Mqtt.sh \ No newline at end of file