added extra parameters for tar

This commit is contained in:
2019-10-12 15:30:01 +02:00
parent 36398733e0
commit a064248000
2 changed files with 4 additions and 1 deletions

3
run.sh
View File

@@ -3,6 +3,9 @@
# Import GPG public keys
gpg --import /keys/*
if [ ${RUN_NOW:-0} -ne 0 ]; then
/backup.sh
fi
# Create and install crontab file
echo "$CRON_INTERVAL /backup.sh" >> /backup.cron