-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
75 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# | ||
# Cookbook Name:: proxy | ||
# Recipe:: configure_journald | ||
# | ||
# Copyright 2024, redborder | ||
# | ||
# AFFERO GENERAL PUBLIC LICENSE V3 | ||
# | ||
|
||
template "/etc/systemd/journald.conf" do | ||
source "journald.conf.erb" | ||
owner "root" | ||
group "root" | ||
mode 0440 | ||
retries 2 | ||
notifies :restart, 'service[systemd-journald]', :delayed | ||
end | ||
|
||
service 'systemd-journald' do | ||
supports :status => true, :start => true, :restart => true, :reload => true | ||
action :nothing | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# This file was generated by CHEF (redborder) | ||
# | ||
# This file is part of systemd. | ||
# | ||
# systemd is free software; you can redistribute it and/or modify it under the | ||
# terms of the GNU Lesser General Public License as published by the Free | ||
# Software Foundation; either version 2.1 of the License, or (at your option) | ||
# any later version. | ||
# | ||
# Entries in this file show the compile time defaults. Local configuration | ||
# should be created by either modifying this file, or by creating "drop-ins" in | ||
# the journald.conf.d/ subdirectory. The latter is generally recommended. | ||
# Defaults can be restored by simply deleting this file and all drop-ins. | ||
# | ||
# Use 'systemd-analyze cat-config systemd/journald.conf' to display the full config. | ||
# | ||
# See journald.conf(5) for details. | ||
|
||
[Journal] | ||
Storage=volatile | ||
#Compress=yes | ||
#Seal=yes | ||
#SplitMode=uid | ||
#SyncIntervalSec=5m | ||
RateLimitIntervalSec=1s | ||
RateLimitBurst=300 | ||
SystemMaxUse=100M | ||
SystemKeepFree=100M | ||
SystemMaxFileSize=50M | ||
#SystemMaxFiles=100 | ||
RuntimeMaxUse=50M | ||
#RuntimeKeepFree= | ||
#RuntimeMaxFileSize= | ||
#RuntimeMaxFiles=100 | ||
#MaxRetentionSec= | ||
#MaxFileSec=1month | ||
#ForwardToSyslog=no | ||
#ForwardToKMsg=no | ||
#ForwardToConsole=no | ||
#ForwardToWall=yes | ||
#TTYPath=/dev/console | ||
#MaxLevelStore=debug | ||
#MaxLevelSyslog=debug | ||
#MaxLevelKMsg=notice | ||
#MaxLevelConsole=info | ||
#MaxLevelWall=emerg | ||
#LineMax=48K | ||
#ReadKMsg=yes | ||
Audit= |