diff options
author | dequis <dx@dxzone.com.ar> | 2017-01-02 03:39:00 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2017-01-02 03:53:25 -0300 |
commit | 73e2b690e1e98a6390e04ad2026f89944ee3c521 (patch) | |
tree | a088dcef29c18bfc47d271bd72cb98a5a9becab9 /lib/json_util.h | |
parent | 7a3d2c7d612aba056153ed9eb6c460bc303fcd9e (diff) |
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.
Diffstat (limited to 'lib/json_util.h')
0 files changed, 0 insertions, 0 deletions