HomePhabricator

Improve PID file error handling

Description

Improve PID file error handling

Summary:

  • Improve PID file removing errors logging
  • Make PID file creating errors fatal
  • Move all PID file stuff to init.cpp

It is only used from init.cpp.
Move-only refactoring.

This is a backport of Core PR15278

The linter was skipped because we don't have that linter.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5775

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on Feb 1 2019, 22:33
deadalnixCommitted on Apr 20 2020, 13:03
FabienPushed on Apr 20 2020, 15:20
Reviewer
Restricted Project
Differential Revision
D5775: Improve PID file error handling
Parents
rSTAGINGa546a8d17f10: Speed up OP_REVERSEBYTES test significantly
Branches
Unknown
Tags
Unknown