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: b1720379d2604c17154458c9ef890fdb3a348b85
  1. alpine/
  2. debian/
  3. rpm/
  4. .hgtags
  5. build_module.sh