updated lockfile name and added restic version

This commit is contained in:
2021-08-17 14:55:15 -04:00
parent 949800c381
commit 62b5f21b59

View File

@@ -1,8 +1,8 @@
#!/bin/sh
lockfile="/tmp/restic.lock"
LOCKFILE="/tmp/restic.lock"
LOGFILE="/var/log/restic/restic_$(date +%Y%m%d-%H%M%S).log"
LATEST_RESTIC_VERSION="2.7.2"
LATEST_RESTIC_VERSION="0.12.1"
# make log directory
if [ ! -d $(dirname ${LOGFILE}) ]; then