diff --git a/.github/workflows/amoy_deb_profiles.yml b/.github/workflows/amoy_deb_profiles.yml index da17ad285..1882f145e 100644 --- a/.github/workflows/amoy_deb_profiles.yml +++ b/.github/workflows/amoy_deb_profiles.yml @@ -122,19 +122,19 @@ jobs: run: cp -rp packaging/templates/package_scripts/preinst.${{ env.NETWORK }} packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst env: ARCH: all - NODE: sentry + NODE: validator NETWORK: amoy - name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} run: cp -rp packaging/templates/config/${{ env.NETWORK }}/heimdall-config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/heimdall-config.toml env: ARCH: all - NODE: sentry + NODE: validator NETWORK: amoy - name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} run: cp -rp packaging/templates/config/${{ env.NETWORK }}/config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/config.toml env: ARCH: all - NODE: sentry + NODE: validator NETWORK: amoy - name: Copying systemd file for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} run: cp -rp packaging/templates/systemd/heimdalld-amoy-validator.service packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/lib/systemd/system/heimdalld.service diff --git a/.github/workflows/mainnet_deb_profiles.yml b/.github/workflows/mainnet_deb_profiles.yml index 836bb291d..71f4ab824 100644 --- a/.github/workflows/mainnet_deb_profiles.yml +++ b/.github/workflows/mainnet_deb_profiles.yml @@ -128,19 +128,19 @@ jobs: run: cp -rp packaging/templates/package_scripts/preinst.${{ env.NETWORK }} packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/preinst env: ARCH: all - NODE: sentry + NODE: validator NETWORK: mainnet - name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} run: cp -rp packaging/templates/config/${{ env.NETWORK }}/heimdall-config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/heimdall-config.toml env: ARCH: all - NODE: sentry + NODE: validator NETWORK: mainnet - name: Copying config for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} run: cp -rp packaging/templates/config/${{ env.NETWORK }}/config.toml packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/var/lib/heimdall/config/config.toml env: ARCH: all - NODE: sentry + NODE: validator NETWORK: mainnet - name: Copying the postrm for ${{ env.NODE }} on ${{ env.NETWORK }} on ${{ env.ARCH }} run: cp -rp packaging/templates/package_scripts/postrm.profile packaging/deb/heimdall-${{ env.NETWORK }}-${{ env.NODE }}-config_${{ env.GIT_TAG }}-${{ env.ARCH }}/DEBIAN/postrm diff --git a/packaging/deb/heimdalld/DEBIAN/prerm b/packaging/deb/heimdalld/DEBIAN/prerm index 37d3ffd90..0946b7eb0 100755 --- a/packaging/deb/heimdalld/DEBIAN/prerm +++ b/packaging/deb/heimdalld/DEBIAN/prerm @@ -4,4 +4,4 @@ ################## # Stops existing for upgrade ################# -sudo systemctl stop heimdalld.service +#sudo systemctl stop heimdalld.service diff --git a/packaging/templates/package_scripts/postinst.validator b/packaging/templates/package_scripts/postinst.validator deleted file mode 100755 index 2515e30fe..000000000 --- a/packaging/templates/package_scripts/postinst.validator +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# This is a postinstallation script so the service can be configured and started when requested -# -sudo systemctl daemon-reload diff --git a/packaging/templates/package_scripts/postrm.profile b/packaging/templates/package_scripts/postrm.profile index 2dc7e21cc..ca4dca45f 100755 --- a/packaging/templates/package_scripts/postrm.profile +++ b/packaging/templates/package_scripts/postrm.profile @@ -3,6 +3,4 @@ ################### # Remove heimdall profile installation ################### -sudo rm /var/lib/heimdall/config/heimdall-config.toml -sudo rm /var/lib/heimdall/config/config.toml sudo systemctl daemon-reload \ No newline at end of file