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
|
2012-07-30 13:18:43 +00:00
|
|
|
/usr/bin/systemctl reload named.service > /dev/null 2>&1 || true
|
|
|
|
/usr/bin/systemctl reload named-chroot.service > /dev/null 2>&1 || true
|
|
|
|
/usr/bin/systemctl reload named-sdb.service > /dev/null 2>&1 || true
|
|
|
|
/usr/bin/systemctl reload named-sdb-chroot.service > /dev/null 2>&1 || true
|
2012-01-30 15:59:01 +00:00
|
|
|
fi
|