[OpenSIPS-Devel] [OpenSIPS/opensips] 811a78: Remember the startup wdir for later reload usage.

Bogdan Andrei IANCU noreply at github.com
Wed Mar 20 10:50:18 EDT 2019


  Branch: refs/heads/script_reload
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 811a78ffc5eb0191188a85ff272d5ba3b505b717
      https://github.com/OpenSIPS/opensips/commit/811a78ffc5eb0191188a85ff272d5ba3b505b717
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-03-20 (Wed, 20 Mar 2019)

  Changed paths:
    M cfg_reload.c
    M daemonize.c
    M daemonize.h

  Log Message:
  -----------
  Remember the startup wdir for later reload usage.

As cfg file (and other files provided via cli params) may be relative to the startup working dir, we need to remember this dir and switch to it when doing a cfg reload.





More information about the Devel mailing list