greenbone / gsad

Greenbone Security Assistant HTTP Server - The server talking to the Greenbone Vulnerability Management daemon (gvmd).
GNU Affero General Public License v3.0
11 stars 14 forks source link

CHANGE: Use full path GSAD_PID_PATH for PID files, change GVM_RUN_DIR to GSAD_RUN_DIR, GVMD_RUN_DIR #26

Closed timopollmeier closed 2 years ago

timopollmeier commented 2 years ago

What: The calls of pidfile_create and pidfile_remove are adjusted to use a full path defined by GSAD_PID_PATH.

The new path GSAD_RUN_DIR is specific to gsad and GVMD_RUN_DIR only has to be shared with gvmd and other modules using GMP via file socket.

Why: To make gsad work correctly with the changes in greenbone/gvm-libs/pull/626 (AP-1789)

How:

Checklist: