Adam Tkac 2af3ea
#!/bin/bash
Adam Tkac 2af3ea
Adam Tkac d218af
if [ "$2" = 'up' -o "$2" = 'down' ]; then
Adam Tkac d218af
	/sbin/systemctl reload named.service > /dev/null 2>&1 || true
Adam Tkac d218af
	/sbin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
Adam Tkac d218af
	/sbin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
Adam Tkac d218af
	/sbin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
Adam Tkac d218af
fi