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/";
fi;
# 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";
fi;
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
# any other value it means ever n days, eg 90 would be every 90 days
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
# it can also be "{hostname}-{user}-{now:%Y-%m-%dT%H:%M:%S.%f}"
BACKUP_SET="";
# prune times, how many are kept in each time frame
KEEP_LAST="";
KEEP_HOURS="";
KEEP_DAYS="";
KEEP_WEEKS="";
KEEP_MONTHS="";
KEEP_YEARS="";
KEEP_WITHIN="";