~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to debian/pdns-server.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2006-05-06 10:40:44 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060506104044-v9hczzfl7dcri6qt
Tags: 2.9.20-3
Disable the recursor, this is in a separate package now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
if [ -x "/etc/init.d/pdns" ]; then
108
108
  update-rc.d pdns defaults 20 85 >/dev/null || exit 0
109
109
  if [ -x /usr/sbin/invoke-rc.d ]; then
110
 
    invoke-rc.d pdns start || exit 0
 
110
    invoke-rc.d pdns restart || exit $?
111
111
  else
112
 
    /etc/init.d/pdns start || exit 0
 
112
    /etc/init.d/pdns restart || exit $?
113
113
  fi
114
114
fi
115
115