Skip to content

Commit

Permalink
Merge pull request greenbone#140 from jjnicola/def-path
Browse files Browse the repository at this point in the history
Change default path for socket and pid file to /var/run/ospd/
  • Loading branch information
bjoernricks authored Oct 1, 2019
2 parents 0674066 + c7b8a89 commit 2123b6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Refactor ospd connection handling. [#114](https://github.com/greenbone/ospd/pull/114)
- Use ordered dictionary to maintain the results order. [#119](https://github.com/greenbone/ospd/pull/119)
- Refactor ospd. [#120](https://github.com/greenbone/ospd/pull/120)
- Set defualt unix socket path to /var/run/ospd/ospd.sock and default pid file path to /var/run/ospd.pid. [#140](https://github.com/greenbone/ospd/pull/140)

### Fixed
- Fix scan progress. [#47](https://github.com/greenbone/ospd/pull/47)
Expand Down
4 changes: 2 additions & 2 deletions ospd/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
DEFAULT_NICENESS = 10
DEFAULT_UNIX_SOCKET_MODE = "0o700"
DEFAULT_CONFIG_PATH = "~/.config/ospd.conf"
DEFAULT_UNIX_SOCKET_PATH = "/tmp/ospd.sock"
DEFAULT_PID_PATH = "/run/ospd/ospd.pid"
DEFAULT_UNIX_SOCKET_PATH = "/var/run/ospd/ospd.sock"
DEFAULT_PID_PATH = "/var/run/ospd.pid"
DEFAULT_STREAM_TIMEOUT = 10 # ten seconds

ParserType = argparse.ArgumentParser
Expand Down

0 comments on commit 2123b6a

Please sign in to comment.