systemd: do not rely on racy heuristics to determine master PID

This fixes reloads and stops when systemd is unable to guess master process PID
due to a race described in https://trac.nginx.org/nginx/ticket/1897

While we wait for a proper fix is introduced in either nginx or systemd via
Type=forking, the workaround is not to rely on possibly unset variables, but
hardcode the path to PID file instead where we need it.
4 files changed
tree: 364937f8000f362a0961651061e634bff8dc3485
  1. alpine/
  2. debian/
  3. rpm/
  4. .hgtags
  5. build_module.sh