updated lockfile name and added restic version
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
lockfile="/tmp/restic.lock"
|
LOCKFILE="/tmp/restic.lock"
|
||||||
LOGFILE="/var/log/restic/restic_$(date +%Y%m%d-%H%M%S).log"
|
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
|
# make log directory
|
||||||
if [ ! -d $(dirname ${LOGFILE}) ]; then
|
if [ ! -d $(dirname ${LOGFILE}) ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user