bind/named.NetworkManager
Adam Tkac 2af3ea715d - improve chroot related documentation (#507795)
- add NetworkManager dispatcher script to reload named when network
    interface is activated/deactivated (#490275)
- don't set/unset named_write_master_zones SELinux boolean every time in
    initscript, modify it only when it's actually needed
2009-09-15 15:34:00 +00:00

7 lines
159 B
Bash

#!/bin/bash
# Check if named is running
/sbin/service named status > /dev/null 2>&1 || exit 0
[ "$2" = 'up' -o "$2" = 'down' ] && /sbin/service named reload