Commit Graph

499 Commits

Author SHA1 Message Date
Jeremy Gardais 4b491ed2d4
New script to upgrade an LXC template
Test if it's a Proxmox host

Call define_vars function

Verify if the ct_id is available on the host

Add color to important value in DEBUG mode

Function to verify current LXC container state

New function to start the container

Add option to define sleep_delay

Function to upgrade the container

Keep output only if DEBUG mode

Function to stop the container

error_message function and exit if CT is running

Working script to upgrade an LXC CT (a template)
2021-11-15 15:22:32 +01:00
Jeremy Gardais b89daa4f3c
Use long-format for options 2021-11-12 11:58:07 +01:00
Jeremy Gardais bfc1660c68
Remove cmd already runned with latecommand script 2021-11-12 11:53:52 +01:00
Jeremy Gardais 565304f72d
Zoom: Update pattern for major release number 2021-10-27 14:28:52 +02:00
Jeremy Gardais 866f928f78
New script to verify Alacritty upgrade 2021-10-27 09:38:09 +02:00
Jeremy Gardais 79ff7e0a5f
Gitea: Ensure to remove unused previous release 2021-09-29 15:26:19 +02:00
Jeremy Gardais f66af4977d
Reprepro: Ignore hidden packages 2021-08-30 12:27:20 +02:00
Jeremy Gardais 66ebcf6947
Zoom: Check version with dpkg info 2021-08-23 19:03:11 +02:00
Jeremy Gardais 390e965ac0
RKT Electron: Ensure .deb file has a size>0 2021-08-23 10:29:43 +02:00
Jeremy Gardais b5089fd4df
Add TODO to replace TARFILE with TARGET 2021-08-05 10:22:30 +02:00
Jeremy Gardais fa22d9ec4a
Try to set reprepro more silent 2021-07-27 09:56:28 +02:00
Jeremy Gardais ee65352910
Fix indent 2021-07-27 09:51:23 +02:00
Jeremy Gardais e261360a18
Fix indent 2021-07-20 10:38:24 +02:00
Jeremy Gardais 59f7e1907e
Gitea: use long options 2021-07-19 11:38:33 +02:00
Jeremy Gardais 6cf7fe5977
gitea: auto download new version 2021-07-19 11:36:43 +02:00
Jeremy Gardais 7da80f22f9
app's scripts: try to use long options 2021-07-07 12:42:13 +02:00
Jeremy Gardais af622337ff
reprepro: Ensure to remove useless .deb in any case 2021-07-07 12:36:34 +02:00
Jeremy Gardais 494ac1ef70
reprepro: Select main component by default 2021-07-06 12:14:55 +02:00
Jeremy Gardais ef95291a28
reprepro: Add silent option 2021-07-06 12:14:43 +02:00
Jeremy Gardais c4bcc5c5a8
reprepro: remove the package once useless 2021-06-30 16:15:48 +02:00
Jeremy Gardais 036e65fffc
reprepro: Script to auto import .deb files from a directory 2021-06-30 16:13:57 +02:00
Jeremy Gardais 8a0e18985a
pihole: Fix condition check 2021-06-28 14:10:28 +02:00
Jeremy Gardais 118733b71d
Script to verify Pi-hole version 2021-06-25 15:51:08 +02:00
Jeremy Gardais 2f1f9b2dc3
Move wordpress and jenkins scripts to app dir 2021-06-22 09:27:52 +02:00
Jeremy Gardais 4e18f0d46d
Download|rm .deb file for rocketchat if necessary 2021-06-11 15:41:29 +02:00
Jeremy Gardais b9a950c091
Script to verify Discord version 2021-06-10 10:37:56 +02:00
Jeremy Gardais 2accdbb60a
Zoom: fix message in temp file 2021-06-09 17:11:08 +02:00
Jeremy Gardais 56499ee242
Download|rm .deb file if necessary 2021-06-09 16:50:43 +02:00
Jeremy Gardais 8f2df93b83
Script to verify Zoom version 2021-06-09 16:33:01 +02:00
Jeremy Gardais 350cb2941f
Add TODO: replace curl --silent option 2021-06-09 08:08:27 +02:00
Jeremy Gardais 5f8ffa900f
Add web_mode to get maco's version with curl 2021-06-09 08:06:30 +02:00
Jeremy Gardais f6cd6ee79b
Script to verify rocketchat client version 2021-05-28 11:20:06 +02:00
Jeremy Gardais 36621b4f62
New mode that check update if last update failed 2021-05-21 14:27:57 +02:00
Jeremy Gardais fa307a2152
Bitwarden_rs was renamed to Vaultwarden
Since v1.21.0, see :
https://github.com/dani-garcia/vaultwarden/releases/tag/1.21.0
2021-04-30 18:49:09 +02:00
Jeremy Gardais fdda156c25
Remove useless grav_cron file 2021-04-30 15:19:30 +02:00
Jeremy Gardais 30a605dae3
SSP: Since 1.4.0 version is available in index.php 2021-04-28 15:43:12 +02:00
Jeremy Gardais 6c23714fee
Fix last exit status
If no urgent is required, the script can reach the end. Thise doesn't
means it's an error.
2021-04-20 15:32:30 +02:00
Jeremy Gardais 194d488340
Test earlier if SGE Master is reachable 2021-04-20 07:41:38 +02:00
Jeremy Gardais 5d3d047223
Script to verify Bitwarden version 2021-04-14 15:26:31 +02:00
Jeremy Gardais a3c56bcaf7
Fix last exit code with 0 (success)
If it reaches the end, it a success.
2021-04-14 10:17:22 +02:00
Jeremy Gardais bffe5b0a6e
Fix default value for user and group… 2021-04-14 10:15:52 +02:00
Jeremy Gardais d1b2bc5e48
Allow to override default owner and group of backup files 2021-04-14 10:11:54 +02:00
Jeremy Gardais 0fc60ef863
Allow second directory to duplicate backups 2021-04-12 19:37:17 +02:00
Jeremy Gardais 47cab2c053
Rename "local" directory to "first" directory 2021-04-12 19:16:03 +02:00
Jeremy Gardais 1ebd39d86a
Clean backups older than retention time
Command can use default retention time or the one passed as argument.
2021-04-12 19:06:47 +02:00
Jeremy Gardais de9548d9e9
Limit access to backup files 2021-04-12 16:45:18 +02:00
Jeremy Gardais a032babff6
Force hard link (remove existing destination file) 2021-04-12 16:22:42 +02:00
Jeremy Gardais e872fdafaf
Exit if /etc/pve doesn't exist 2021-04-12 16:19:03 +02:00
Jeremy Gardais b8d3c9554f
Create archive and hard link to latest file 2021-04-12 16:18:34 +02:00
Jeremy Gardais 49d0740b7e
Use `test -d` instead of `find` to check directory 2021-04-12 15:54:21 +02:00