-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3046 from greenbone/mergify/bp/gsa-20.08/pr-3045
Use better defaults for installation locations (backport #3045)
- Loading branch information
Showing
5 changed files
with
19 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
[Unit] | ||
Description=Greenbone Security Assistant daemon (gsad) | ||
After=network.target networking.service gvmd.service | ||
Documentation=man:gsad(8) | ||
ConditionKernelCommandLine=!recovery | ||
Documentation=man:gsad(8) https://www.greenbone.net | ||
After=network.target gvmd.service | ||
Wants=gvmd.service | ||
|
||
[Service] | ||
Type=forking | ||
User=$GSAD_USER | ||
Group=$GSAD_GROUP | ||
PIDFile=${GVM_RUN_DIR}/gsad.pid | ||
EnvironmentFile=${DEFAULT_CONFIG_DIR}/gsad | ||
ExecStart=${SBINDIR}/gsad --listen $GSAD_ADDRESS --port $GSAD_PORT $GSAD_OPTIONS | ||
User=gvm | ||
Group=gvm | ||
PIDFile=${GVM_PID_DIR}/gsad.pid | ||
ExecStart=${SBINDIR}/gsad --listen 127.0.0.1 --port 9392 --http-only | ||
Restart=always | ||
TimeoutStopSec=10 | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
Alias=greenbone-security-assistant.service |