File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,10 @@ SCRIPT_NAME="greenbone-certdata-sync"
66
66
LOG_CMD=" logger -t $SCRIPT_NAME "
67
67
68
68
# LOCK_FILE is the name of the file used to lock the feed during sync or update.
69
- LOCK_FILE=/tmp/gvm-sync-cert
70
-
69
+ if [ -z LOCK_FILE ]
70
+ then
71
+ LOCK_FILE=" @GVM_FEED_LOCK_PATH@"
72
+ fi
71
73
72
74
# ######### GLOBAL VARIABLES
73
75
# ######### ================
Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ SCRIPT_NAME="greenbone-scapdata-sync"
70
70
LOG_CMD=" logger -t $SCRIPT_NAME "
71
71
72
72
# LOCK_FILE is the name of the file used to lock the feed during sync or update.
73
- LOCK_FILE=/tmp/gvm-sync-scap
73
+ if [ -z LOCK_FILE ]
74
+ then
75
+ LOCK_FILE=" @GVM_FEED_LOCK_PATH@"
76
+ fi
74
77
75
78
76
79
# ######### GLOBAL VARIABLES
You can’t perform that action at this time.
0 commit comments