|
Lines 32-37
Link Here
|
| 32 |
|
32 |
|
| 33 |
. /usr/share/univention-lib/all.sh |
33 |
. /usr/share/univention-lib/all.sh |
| 34 |
|
34 |
|
|
|
35 |
if [ "$1" = "configure" ]; then |
| 36 |
# touch config files just in case the listener module bind.py has not created them yet |
| 37 |
touch /etc/bind/univention.conf /etc/bind/univention.conf.proxy |
| 38 |
fi |
| 39 |
|
| 35 |
# Remove service diversion before any service is restarted through debhelper |
40 |
# Remove service diversion before any service is restarted through debhelper |
| 36 |
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 14.0.0-7; then |
41 |
if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt 14.0.0-7; then |
| 37 |
dpkg-divert --quiet \ |
42 |
dpkg-divert --quiet \ |
|
Lines 106-113
if [ "$1" = "configure" ]; then
Link Here
|
| 106 |
systemctl --system daemon-reload |
111 |
systemctl --system daemon-reload |
| 107 |
service bind9 start |
112 |
service bind9 start |
| 108 |
} |
113 |
} |
| 109 |
# touch config files just in case the listener module bind.py has not created them yet |
|
|
| 110 |
touch /etc/bind/univention.conf /etc/bind/univention.conf.proxy |
| 111 |
if [ -n "$2" ]; then |
114 |
if [ -n "$2" ]; then |
| 112 |
systemctl try-restart bind9 || service bind9 restart |
115 |
systemctl try-restart bind9 || service bind9 restart |
| 113 |
else |
116 |
else |