Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all ospd-openvas config files more consistent: #311

Merged
merged 1 commit into from
Aug 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/ospd-openvas.default
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# The installation prefix to find the ospd-openvas binary.
PATH=<install-prefix>/bin:<install-prefix>/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:$PATH
PYTHONPATH=<install-prefix>/lib/python3.5/site-packages:$PYTHONPATH
OSPD_OPENVAS_ARGS="--unix-socket <install-prefix>/var/run/ospd/ospd-openvas.sock --pid-file <install-prefix>/var/run/ospd/ospd-openvas.pid --log-file <install-prefix>/var/log/gvm/ospd-openvas.log --lock-file-dir <install-prefix>/var/run"
2 changes: 1 addition & 1 deletion config/ospd-openvas.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Environment="PATH=$PATH"
Environment="PYTHONPATH=$PYTHONPATH"
User=<username>
Group=<groupname>
ExecStart=<install-prefix>/bin/ospd-openvas
ExecStart=<install-prefix>/bin/ospd-openvas $OSPD_OPENVAS_ARGS
SuccessExitStatus=SIGKILL
# This works asynchronously, but does not take the daemon down during the reload so it's ok.
Restart=always
Expand Down
9 changes: 5 additions & 4 deletions config/ospd.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[OSPD - openvas]
log_level = DEBUG
log_level = INFO
socket_mode = 0o770
unix_socket = /var/run/ospd/openvas.sock
pid_file = /var/run/openvas.pid
log_file = <install-prefix>/var/log/gvm/openvas.log
unix_socket = <install-prefix>/var/run/ospd/ospd-openvas.sock
pid_file = <install-prefix>/var/run/ospd/ospd-openvas.pid
log_file = <install-prefix>/var/log/gvm/ospd-openvas.log
lock_file_dir = <install-prefix>/var/run