2009-09-15 15:34:00 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-01-30 15:59:01 +00:00
|
|
|
if [ "$2" = 'up' -o "$2" = 'down' ]; then
|
|
|
|
/sbin/systemctl reload named.service > /dev/null 2>&1 || true
|
|
|
|
/sbin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
|
|
|
|
/sbin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
|
|
|
|
/sbin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
|
|
|
|
fi
|