Compare commits

..

1 Commits

Author SHA1 Message Date
Clemens Schwaighofer f24daba195 Add shellcheckrc 2024-09-03 12:40:39 +09:00
3 changed files with 4 additions and 5 deletions
+2
View File
@@ -0,0 +1,2 @@
shell=bash
external-sources=true
+1 -1
View File
@@ -34,7 +34,7 @@ if [ -z "${GITEA_WORKING_DIR}" ]; then
GITEA_WORKING_DIR="/var/tmp/gitea/"; GITEA_WORKING_DIR="/var/tmp/gitea/";
fi; fi;
# general temp folder for temporary data storage, this is not working output folder # general temp folder for temporary data storage, this is not working output folder
if [ -z "${GITEA_TEMP_DIR}" ]; then if [ -z "${GITEA_TEMP_DIR}"]; then
GITEA_TEMP_DIR="/var/tmp"; GITEA_TEMP_DIR="/var/tmp";
fi; fi;
if [ -z "${GITEA_BIN}" ]; then if [ -z "${GITEA_BIN}" ]; then
+1 -4
View File
@@ -40,15 +40,12 @@ COMPACT_INTERVAL="";
# if set to 1 then every time the script runs # if set to 1 then every time the script runs
# any other value it means ever n days, eg 90 would be every 90 days # any other value it means ever n days, eg 90 would be every 90 days
CHECK_INTERVAL=""; CHECK_INTERVAL="";
# default is {now:%Y-%m-%d} # default is %Y-%m-%d
# todays date, if more than one per day add -%H%M for hour/minute # todays date, if more than one per day add -%H%M for hour/minute
# it can also be "{hostname}-{user}-{now:%Y-%m-%dT%H:%M:%S.%f}" # it can also be "{hostname}-{user}-{now:%Y-%m-%dT%H:%M:%S.%f}"
BACKUP_SET=""; BACKUP_SET="";
# prune times, how many are kept in each time frame # prune times, how many are kept in each time frame
KEEP_LAST="";
KEEP_HOURS="";
KEEP_DAYS=""; KEEP_DAYS="";
KEEP_WEEKS=""; KEEP_WEEKS="";
KEEP_MONTHS=""; KEEP_MONTHS="";
KEEP_YEARS=""; KEEP_YEARS="";
KEEP_WITHIN="";