logging: minor tweaks
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
This commit is contained in:
parent
8ff6950960
commit
548588e069
2 changed files with 2 additions and 17 deletions
|
@ -10,11 +10,10 @@ module(load="imklog") # provides kernel logging support
|
||||||
#### GLOBAL DIRECTIVES ####
|
#### GLOBAL DIRECTIVES ####
|
||||||
###########################
|
###########################
|
||||||
|
|
||||||
# Where to place spool and state files
|
|
||||||
$WorkDirectory /var/spool/rsyslog
|
|
||||||
|
|
||||||
$IncludeConfig /etc/rsyslog.d/*.conf
|
$IncludeConfig /etc/rsyslog.d/*.conf
|
||||||
|
|
||||||
|
# Where to place spool and state files
|
||||||
|
$WorkDirectory /var/spool/rsyslog
|
||||||
|
|
||||||
###############
|
###############
|
||||||
#### RULES ####
|
#### RULES ####
|
||||||
|
@ -25,7 +24,6 @@ $ActionSendStreamDriverMode 1 # Require TLS
|
||||||
$ActionSendStreamDriverAuthMode anon
|
$ActionSendStreamDriverAuthMode anon
|
||||||
*.* @@(o)logs.mooncarrot.space:514 # Forward everything to our rsyslog server
|
*.* @@(o)logs.mooncarrot.space:514 # Forward everything to our rsyslog server
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Emergencies are sent to everybody logged in.
|
# Emergencies are sent to everybody logged in.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
|
|
||||||
if ! command_exists logrotate; then
|
|
||||||
task_begin "Installing logrotate";
|
|
||||||
|
|
||||||
queue_apt_install logrotate;
|
|
||||||
|
|
||||||
mkdir -p /etc/logrotate.d;
|
|
||||||
touch /etc/logrotate.d/misc;
|
|
||||||
|
|
||||||
task_end "$?" "Failed to configure installation of logrotate";
|
|
||||||
fi
|
|
Loading…
Reference in a new issue