• Mathieu Mirmont's avatar
    opendnssec-*.init: use do_restart_prepare from init-d-script · 70fe330c
    Mathieu Mirmont authored
    The new init-d-script from sysvinit 2.93-7 supports a
    do_restart_prepare handler (see #920847). We need this handler to
    prevent the daemons from starting up when the init scripts are invoked
    with the "restart" argument, which is the case on package upgrades.
    Note that this is safe (no-op) on previous versions of sysvinit that
    do not support this handler.