Move knockd config out of /tmp (#4193)

This commit is contained in:
Geoff Bourne
2026-07-27 11:09:57 -05:00
committed by GitHub
parent 7e1c26a18f
commit 33159ddd83
2 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ if ! mc-image-helper network-interfaces --check="$AUTOPAUSE_KNOCK_INTERFACE" ; t
autopause_error_loop
fi
knockdArgs=(-c /tmp/knockd-config.cfg -d -i "$AUTOPAUSE_KNOCK_INTERFACE")
knockdArgs=(-c /data/.knockd.cfg -d -i "$AUTOPAUSE_KNOCK_INTERFACE")
if isTrue "${DEBUG_AUTOPAUSE}"; then
knockdArgs+=(-D)
fi