Commit Graph

516 Commits

Author SHA1 Message Date
Jeremy Gardais 87b26d6c6d
Don't need --force option to disable SGE queue
Before restarting SGE service, "--force" will only prevent SGE to be
re-enabled after unwanted reboots…
2022-08-17 17:22:37 +02:00
Jeremy Gardais 0b0f678837
Manage return of disable function 2022-08-17 17:14:22 +02:00
Jeremy Gardais 70e7c27c72
Improve script
Move code to functions.
Manage arguments.
debug and error dedicated messages.
Exit with error message if a command fails.
2022-08-02 16:51:03 +02:00
Jeremy Gardais 5985288620
If no ZFS, exit with error message 2022-07-21 15:57:37 +02:00
Jeremy Gardais c410051864
Increase default quota from 50G to 200G 2022-07-19 15:28:54 +02:00
Jeremy Gardais f543e20ec4
Update help message 2022-07-19 15:27:10 +02:00
Jeremy Gardais 8cfcb862b3
New option to give quota file 2022-07-19 15:09:37 +02:00
Jeremy Gardais b29bd8c2a8
Fix typo 2022-07-19 15:08:35 +02:00
Jeremy Gardais a78d8c042c
Create zfs dedicated directory 2022-07-11 11:35:10 +02:00
Jeremy Gardais a4c49e9f85
Accept options 2022-07-11 11:34:47 +02:00
Jeremy Gardais 65767cfffd
Improve Zoom script
Manage arguments.
Better versions comparison.
2022-06-02 13:56:34 +02:00
Guillaume Raffy 93d8a5a395 fixed typo 2022-05-09 18:51:52 +02:00
Guillaume Raffy ce4d2af94f reverted last change because it caused more problems than good 2022-05-09 18:50:35 +02:00
Guillaume Raffy 36cbdf6ba8 fixed bug that caused the displayed disk not to be the path that the users see 2022-05-09 18:39:06 +02:00
Guillaume Raffy 9282bd5ac5 made disk-watchdog executable 2022-05-09 18:16:20 +02:00
Guillaume Raffy 9c8b3933d9 improved disk-watchdog : the e-mail now includes the user triggering the script 2022-05-09 18:14:14 +02:00
Guillaume Raffy 3c0c41d142 added a script to send a report on /opt/ipr/cluster/work.global usage when it's full
This is to address https://bugzilla.ipr.univ-rennes1.fr/show_bug.cgi?id=3193 but this script will need to be triggered by cron.daily on work.ipr.univ-rennes1.fr
2022-05-09 17:48:58 +02:00
Jeremy Gardais 92f31a62ca
Remove "v" prefix from current version 2022-05-06 09:29:07 +02:00
Jeremy Gardais e2096daf99
Update Searx repo's URL 2022-05-06 09:26:18 +02:00
Jeremy Gardais 4186ee4fd8
Exit nextcloud server test if up-to-date 2022-04-07 10:56:46 +02:00
Jeremy Gardais e504952702
Update purpose and error code 2022-03-30 10:48:26 +02:00
Jeremy Gardais 4301c4c7eb
Fix group permission 2022-03-30 10:39:10 +02:00
Jeremy Gardais f2f4bf82aa
Check full path of directories 2022-03-28 14:22:49 +02:00
Jeremy Gardais d50bb47358
New script to list dir without owner 2022-03-28 14:18:47 +02:00
Jeremy Gardais f01126f935
Add new job-init phase 2022-03-24 09:53:29 +01:00
Jeremy Gardais f2eb26eeaa
Ignore release candidate for Nextcloud update 2022-03-14 09:19:17 +01:00
Jeremy Gardais 701b1fc6f4
Exclude lock files/directories from backup 2022-02-09 10:39:56 +01:00
Jeremy Gardais 2ffb67cc35
Redirect debug_message to temp log file 2022-02-08 11:47:28 +01:00
Jeremy Gardais 03c713d836
Reorder debug messages 2022-02-07 15:07:53 +01:00
Jeremy Gardais 1b6946edc3
Replace cut with sed to get the last two extensions 2022-02-07 14:56:21 +01:00
Jeremy Gardais 9f9ef99f1a
Add new vzdump hook to hardlink latest backup 2022-02-03 14:33:08 +01:00
Jeremy Gardais 70bf10ab59
Exit with error if new_version is empty 2022-02-01 10:30:06 +01:00
Jeremy Gardais 3fa03cadd2
Find and remove old files only from current dir
Avoid to find files in subdirectory
2022-02-01 10:27:44 +01:00
Jeremy Gardais 3580fa5f13
Improve gitea update checking
Manage options
Manage help message
Manage Gitea's path with option
Manage vars in specific function
Use main() !
Only use DEBUG with debug_message
Add --download option to get new Gitea release
Manage Gitea binary empty file
Error if can't get Gitea's current version
Ensure to clean previous unused release
Download from dl.gitea.io (default); add --github
2022-01-31 18:39:30 +01:00
Jeremy Gardais 7198e02523
Alacritty: Use Bullseye version of the package 2022-01-24 10:14:55 +01:00
Jeremy Gardais e69f5b087a
Alacritty: Ignore rc version of .deb file 2022-01-24 09:25:30 +01:00
Jeremy Gardais a63675f4b9
Increase sleeping delay to start an LXC CT 2022-01-24 07:32:56 +01:00
Jeremy Gardais 12ba56fd0d
Ignore empty lines
Potential removed tags,…
2022-01-20 07:53:49 +01:00
Jeremy Gardais 54cf9ba91e
Print error message without DEBUG 2022-01-17 07:56:55 +01:00
Jeremy Gardais 700d6d2c5c
Exit if SGE is not configured on hosts 2021-12-22 11:03:26 +01:00
Jeremy Gardais 15992d9393
Ignore error message for qconf result 2021-12-22 10:53:33 +01:00
Jeremy Gardais 1cd20da9b6
Use localhost as default master to allow host lookup 2021-12-15 05:59:02 +01:00
Jeremy Gardais 1d1bf88bd6
Get SGE master from config file 2021-12-09 15:33:27 +01:00
Jeremy Gardais 8eb7a52aef
Ensure to setup correct permissions on homedir 2021-11-29 16:05:01 +01:00
Jeremy Gardais ec39784e14
Create home directory for each user 2021-11-29 15:27:47 +01:00
Jeremy Gardais 71b0499341
Compare new and old users list (if available) 2021-11-29 15:13:40 +01:00
Jeremy Gardais 6b130315dd
Sort users to avoid differences between each runs 2021-11-29 12:05:37 +01:00
Jeremy Gardais 2cc9078ad9
Rename file list for next run 2021-11-29 12:01:38 +01:00
Jeremy Gardais 6dc5cd590d
Get users list from LDAP group 2021-11-26 16:55:05 +01:00
Jeremy Gardais 825cf90ec0
Manage --home option and verify home base dir 2021-11-26 14:14:47 +01:00