Skip to content

Commit

Permalink
Change: Change service start up type from forking to exec (#84)
Browse files Browse the repository at this point in the history
Type=forking leads to problems (eg: https://forum.greenbone.net/t/gsad-service-activating/12993/13) and is unnecessary since gsad has a --foreground option.

(cherry picked from commit cbf1280)
  • Loading branch information
rfc6919 authored and bjoernricks committed Sep 19, 2022
1 parent baf2e6f commit 34534c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/gsad.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ After=network.target gvmd.service
Wants=gvmd.service

[Service]
Type=forking
Type=exec
User=gvm
PIDFile=${GSAD_PID_PATH}
RuntimeDirectory=gsad
RuntimeDirectoryMode=2775
ExecStart=${SBINDIR}/gsad --listen 127.0.0.1 --port 9392 --http-only
ExecStart=${SBINDIR}/gsad --foreground --listen 127.0.0.1 --port 9392 --http-only
Restart=always
TimeoutStopSec=10

Expand Down

0 comments on commit 34534c5

Please sign in to comment.