bind: clean up *.jnl files

This commit is contained in:
Astro 2022-02-24 20:45:44 +01:00
parent 577d3c89f5
commit b479750b88
1 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,8 @@ in
done
# Allow creation of .jnl files by BIND for DynDNS
chmod a+w zones
# Clean up .jnl files
rm -f zones/*.jnl
# Take action
if systemctl is-active -q bind; then
/run/wrappers/bin/sudo ${reloadCommand}