~ubuntu-branches/ubuntu/precise/isc-dhcp/precise-proposed

« back to all changes in this revision

Viewing changes to debian/isc-dhcp-server.isc-dhcp-server6.upstart

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2012-05-27 20:41:13 UTC
  • Revision ID: package-import@ubuntu.com-20120527204113-5jh4jafvqc9sgj4o
Tags: 4.1.ESV-R4-0ubuntu5.1
* Set -pf option for both isc-dhcp-server and isc-dhcp-server6 so they
  create their pid files in a path that's actually writable. (LP: #985417)
* Also allow read access to the pid file in the apparmor profile,
  otherwise only the initial start succeeds. (LP: #1005062)
* On upgrade from dhcp3-server, move /etc/default/dhcp3-server to
  /etc/default/isc-dhcp-server. (LP: #1003971)
* On upgrade from dhcp3-relay, remove /etc/default/dhcp3-relay.
  (LP: #1005547)
* Try to preseed isc-dhcp-relay with the values from
  /etc/default/dhcp3-relay. (LP: #1005547)

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        chown dhcpd:dhcpd /var/lib/dhcp/dhcpd6.leases~
54
54
    fi
55
55
 
56
 
    exec /usr/sbin/dhcpd -f -q -6 -cf $CONFIG_FILE $INTERFACES
 
56
    exec /usr/sbin/dhcpd -f -q -6 -pf /run/dhcp-server/dhcpd6.pid -cf $CONFIG_FILE $INTERFACES
57
57
end script