Changeset 73e2b69

Timestamp:
2017-01-02T06:53:25Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
fc6457e
Parents:
7a3d2c7
git-author:
dequis <dx@…> (02-01-17 06:39:00)
git-committer:
dequis <dx@…> (02-01-17 06:53:25)
Message:

debian: add preinst script for a smoother transition to systemd units

This fixes an issue when upgrading from an initscripts based release
like 3.4.2 to the current version, in which the old daemon is still
running when systemd tries to start it, so it fails to start due to bind
and fails to stop because it doesn't use pidfiles.

To get around this, the preinst script kills the initscripts-started
daemon the first time when upgrading from something old enough, using
the pidfile.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.