From 567356b238252683729120cae0e40e4b5a986e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Fri, 3 Nov 2023 15:54:59 +0100 Subject: [PATCH] git.ipr: New main domain --- README.md | 2 +- github/check.alacritty.update.sh | 4 ++-- github/check.cachet.update | 4 ++-- github/check.ceph.update | 4 ++-- github/check.cstate.update | 4 ++-- github/check.etherpad.update.sh | 4 ++-- github/check.fusioninventory-agent.update | 4 ++-- github/check.gitea.update | 4 ++-- github/check.glpi-agent.update | 4 ++-- github/check.nextcloud.update | 4 ++-- github/check.privatebin.update | 4 ++-- github/check.rocketchat-electron.update | 4 ++-- github/check.searx.update | 4 ++-- github/check.self-service-password.update | 4 ++-- github/check.shaarli.update | 4 ++-- github/check.teams-for-linux.update.sh | 4 ++-- github/check.vaultwarden.update | 4 ++-- github/check.wallabag.update | 4 ++-- github/template.sh | 4 ++-- proxmox/proxmox.template.debian.sh | 2 +- proxmox/proxmox.template.debian.upgrade.sh | 4 ++-- 21 files changed, 40 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 6273b23..b683446 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Some commands in order to clean and prepare a container to become a template. 2. How-to use : ``` sh -wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh -O /tmp/proxmox.template.debian.sh +wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh -O /tmp/proxmox.template.debian.sh chmod +x /tmp/proxmox.template.debian.sh /tmp/proxmox.template.debian.sh ``` diff --git a/github/check.alacritty.update.sh b/github/check.alacritty.update.sh index 13e7402..12bddab 100755 --- a/github/check.alacritty.update.sh +++ b/github/check.alacritty.update.sh @@ -14,8 +14,8 @@ # }}} # How-to use {{{ ## 1. Needs releasetags script, in the same directory -## cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +## cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ## 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check.alacritty.update ## 2-1 Create a cron job to compare the version of manually installed package diff --git a/github/check.cachet.update b/github/check.cachet.update index d73b390..4fa4dfa 100755 --- a/github/check.cachet.update +++ b/github/check.cachet.update @@ -6,8 +6,8 @@ ## supposed to be install from source (github) or at least get a VERSION file. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Cachet directory as first argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update /var/www/cachet ### 3. Monitor the temp file : /tmp/.github.cachet.upgrade diff --git a/github/check.ceph.update b/github/check.ceph.update index 56f9697..ae31d68 100755 --- a/github/check.ceph.update +++ b/github/check.ceph.update @@ -6,8 +6,8 @@ ## current version. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check_ceph_update ### 3. Monitor the file : /srv/.github.ceph.upgrade diff --git a/github/check.cstate.update b/github/check.cstate.update index 013fc57..498692a 100755 --- a/github/check.cstate.update +++ b/github/check.cstate.update @@ -5,8 +5,8 @@ ## It's based on the cState URL site to get the current version. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with cState URL as first argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_cstate_update https://vmstatus.domain.tld ### 3. Monitor the temp file : /tmp/.github.cstate.upgrade diff --git a/github/check.etherpad.update.sh b/github/check.etherpad.update.sh index ddb9005..48c77fe 100755 --- a/github/check.etherpad.update.sh +++ b/github/check.etherpad.update.sh @@ -9,8 +9,8 @@ # ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Etherpad directory as argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_cachet_update --directory /srv/www/etherpad-lite ### 3. Monitor the temp file : /tmp/.github.etherpad.upgrade diff --git a/github/check.fusioninventory-agent.update b/github/check.fusioninventory-agent.update index 9a61daa..45dd124 100755 --- a/github/check.fusioninventory-agent.update +++ b/github/check.fusioninventory-agent.update @@ -7,8 +7,8 @@ ## if "repo" is given as first argument. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check_fusioninventory-agent_update ### 2-1 Create a cron job to compare the version available in a Debian repository : diff --git a/github/check.gitea.update b/github/check.gitea.update index c06ce22..6539fc1 100755 --- a/github/check.gitea.update +++ b/github/check.gitea.update @@ -5,8 +5,8 @@ ## It based on gitea's binary available in $PATH or give as first argument. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_gitea_update ### 2-1 Create a cron job with a specific path for gitea bin, eg. diff --git a/github/check.glpi-agent.update b/github/check.glpi-agent.update index d93a3f7..d30278c 100755 --- a/github/check.glpi-agent.update +++ b/github/check.glpi-agent.update @@ -12,8 +12,8 @@ # }}} ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check.glpi-agent.update ### 2-1 Create a cron job to compare the version available in a Debian repository : diff --git a/github/check.nextcloud.update b/github/check.nextcloud.update index 796db8b..27222f1 100755 --- a/github/check.nextcloud.update +++ b/github/check.nextcloud.update @@ -7,8 +7,8 @@ ## For Nextcloud's apps, the `occ` command is used with sudo www-data. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Nextcloud directory as first argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_nextcloud_update /var/www/nextcloud ### 3. Monitor the temp file : /tmp/.github.nextcloud.upgrade diff --git a/github/check.privatebin.update b/github/check.privatebin.update index a5b2a2b..6ffc32f 100755 --- a/github/check.privatebin.update +++ b/github/check.privatebin.update @@ -6,8 +6,8 @@ ## supposed to be install from source (github) or archives. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with PrivateBin directory as first argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_privatebin_update /var/www/privatebin ### 3. Monitor the temp file : /tmp/.github.privatebin.upgrade diff --git a/github/check.rocketchat-electron.update b/github/check.rocketchat-electron.update index a1a4394..f04d3cb 100755 --- a/github/check.rocketchat-electron.update +++ b/github/check.rocketchat-electron.update @@ -7,8 +7,8 @@ ## if "repo" is given as first argument. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check.rocketchat-electron.update ### 2-1 Create a cron job to compare the version available in a Debian repository : diff --git a/github/check.searx.update b/github/check.searx.update index 511fdd5..3f85ca3 100755 --- a/github/check.searx.update +++ b/github/check.searx.update @@ -6,8 +6,8 @@ ## supposed to be install from source (github). ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Searx directory as first argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_searx_update /var/www/searx ### 3. Monitor the temp file : /tmp/.github.searx.upgrade diff --git a/github/check.self-service-password.update b/github/check.self-service-password.update index 1dd6c00..7706921 100755 --- a/github/check.self-service-password.update +++ b/github/check.self-service-password.update @@ -7,8 +7,8 @@ ## root is given as first argument. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check_self-service-password_update ### 2-1. Create a cron job with Self Service Password (SSP) directory as first argument, eg : diff --git a/github/check.shaarli.update b/github/check.shaarli.update index 2bcb72f..f41e12a 100755 --- a/github/check.shaarli.update +++ b/github/check.shaarli.update @@ -5,8 +5,8 @@ ## It based on shaarli's binary available in $PATH or give as first argument. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_shaarli_update ### 2-1 Create a cron job with a specific path for Shaarli bin, eg. diff --git a/github/check.teams-for-linux.update.sh b/github/check.teams-for-linux.update.sh index 0fcf89a..494ef8a 100755 --- a/github/check.teams-for-linux.update.sh +++ b/github/check.teams-for-linux.update.sh @@ -14,8 +14,8 @@ # }}} # How-to use {{{ ## 1. Needs releasetags script, in the same directory -## cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +## cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ## 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check.teams-for-linux.update ## 2-1 Create a cron job to compare the version of manually installed package diff --git a/github/check.vaultwarden.update b/github/check.vaultwarden.update index 19facf4..8fab5ca 100755 --- a/github/check.vaultwarden.update +++ b/github/check.vaultwarden.update @@ -6,8 +6,8 @@ ## as first argument. ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_vaultwarden_update ### 2-1 Create a cron job with a specific path for vaultwarden bin, eg. diff --git a/github/check.wallabag.update b/github/check.wallabag.update index 3c8d720..0c98299 100755 --- a/github/check.wallabag.update +++ b/github/check.wallabag.update @@ -6,8 +6,8 @@ ## supposed to be install from source (github). ## How-to use {{{ ### 1. Needs releasetags script, in the same directory -### cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +### cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ### 2. Create a cron job with Wallabag directory as first argument, eg. #00 20 * * * root /opt/repos/ipr.scripts/github/check_wallabag_update /var/www/wallabag ### 3. Monitor the temp file : /tmp/.github.wallabag.upgrade diff --git a/github/template.sh b/github/template.sh index 51c24ac..9725c63 100755 --- a/github/template.sh +++ b/github/template.sh @@ -23,8 +23,8 @@ # }}} # How-to use {{{ ## 1. Needs releasetags script, in the same directory -## cf. https://git.ipr.univ-rennes1.fr/cellinfo/scripts/src/master/github/releasetags -# wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/github/releasetags +## cf. https://git.ipr.univ-rennes.fr/cellinfo/scripts/src/master/github/releasetags +# wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/github/releasetags ## 2. Create a cron job, eg : #00 20 * * * root /opt/repos/ipr.scripts/github/check.A_MAGNIFICIENT_PACKAGE_NAME.update ## 2-1 Create a cron job to compare the version of manually installed package diff --git a/proxmox/proxmox.template.debian.sh b/proxmox/proxmox.template.debian.sh index 83ea553..67c9f54 100755 --- a/proxmox/proxmox.template.debian.sh +++ b/proxmox/proxmox.template.debian.sh @@ -43,7 +43,7 @@ update-locale LANG="${NEW_L}" # Previously used hostnamectl but it can't works correctly on LXC container with Apparmor debian_version=$(grep VERSION_CODENAME /etc/os-release | cut --delimiter="=" --fields=2) -wget https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz --output-document=/tmp/latecommand.tar.gz +wget https://git.ipr.univ-rennes.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz --output-document=/tmp/latecommand.tar.gz tar xzf /tmp/latecommand.tar.gz --directory=/tmp/ /bin/sh /tmp/latecommand/post."${debian_version}".sh diff --git a/proxmox/proxmox.template.debian.upgrade.sh b/proxmox/proxmox.template.debian.upgrade.sh index 3c88f82..32bd68c 100755 --- a/proxmox/proxmox.template.debian.upgrade.sh +++ b/proxmox/proxmox.template.debian.upgrade.sh @@ -225,11 +225,11 @@ upgrade_container() { # {{{ ## Keep output if DEBUG mode is activated if [ "${DEBUG}" -eq "0" ]; then - /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2 + /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2 /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "chmod +x /tmp/proxmox.template.debian.sh" || exit 2 /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "/tmp/proxmox.template.debian.sh" || exit 2 else - /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget --quiet https://git.ipr.univ-rennes1.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2 + /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "wget --quiet https://git.ipr.univ-rennes.fr/cellinfo/scripts/raw/master/proxmox/proxmox.template.debian.sh --output-document=/tmp/proxmox.template.debian.sh" || exit 2 /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "chmod +x /tmp/proxmox.template.debian.sh" || exit 2 /usr/sbin/pct exec "${local_ct_id:-/dev/null}" -- bash -c "/tmp/proxmox.template.debian.sh" > /dev/null 2>&1 || exit 2 fi