Skip to content

Commit

Permalink
Merge pull request #5 from newcontext-oss/cgoettel-add-journald-limits
Browse files Browse the repository at this point in the history
add journald hard limit
  • Loading branch information
cvoid-newcontext authored Feb 5, 2021
2 parents 57c0773 + 3d622d6 commit 89a6180
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opencti_scripts/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ disable_service 'rabbitmq-server'
disable_service 'minio'
disable_service 'grakn'

# The VMs we're running are not that big and we're going to quickly fill the system log with our work (and especially the connectors). This will max out the logs at 100M.
echo "SystemMaxUse=100M" >> /etc/systemd/journald.conf

# Ensure required packages are installed at latest (or specified) version. Repositories were updated in the wrapper script.
log_section_heading "Installing and updating required packages"
update_apt_pkg
Expand Down

0 comments on commit 89a6180

Please sign in to comment.