Set owner of gravity output files to pihole

Signed-off-by: Christian König <ckoenig@posteo.de>
pull/5419/head
Christian König 7 months ago
parent 96640ea2c8
commit 6001fe34ec
No known key found for this signature in database

@ -488,6 +488,10 @@ compareLists() {
# We assume here it was changed upstream
database_adlist_status "${adlistID}" "1"
fi
# set owner of the file to pihole
chown pihole:pihole "${target}.sha1"
}
# Download specified URL and perform checks on HTTP status and file content
@ -621,6 +625,9 @@ gravity_DownloadBlocklistFromUrl() {
database_adlist_status "${adlistID}" "4"
fi
fi
# set owner of the file to pihole
chown pihole:pihole "${saveLocation}"
}
# Parse source files into domains format

Loading…
Cancel
Save