Skip to content

Commit 093fc9f

Browse files
committed
bin: copy_server_files: Backup crl.pem
* Back-up the crl.pem file if present. * Closes #198
1 parent 14d6f7f commit 093fc9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/ovpn_copy_server_files

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ FILES=(
3232
"ccd"
3333
)
3434

35+
if [ -f "${OPENVPN}/pki/crl.pem" ]; then
36+
FILES+=("pki/crl.pem")
37+
fi
38+
3539
# Ensure the ccd directory exists, even if empty
3640
mkdir -p "ccd"
3741

0 commit comments

Comments
 (0)