bind/named.NetworkManager
Adam Tkac d218af54a5 retire initscript in favour of systemd unit files (#719419)
Signed-off-by: Adam Tkac <atkac@redhat.com>
2012-01-30 16:59:01 +01:00

9 lines
332 B
Bash

#!/bin/bash
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