update
This commit is contained in:
12
conf/rsyslog/01-ignore-session-messages.conf
Normal file
12
conf/rsyslog/01-ignore-session-messages.conf
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
if (
|
||||||
|
($syslogtag startswith 'systemd[' or $syslogtag startswith 'systemd-logind[') and
|
||||||
|
(
|
||||||
|
re_match($msg, 'Started Session') or
|
||||||
|
re_match($msg, 'Deactivated') or
|
||||||
|
re_match($msg, 'Consumed') or
|
||||||
|
re_match($msg, 'New session') or
|
||||||
|
re_match($msg, 'Removed session')
|
||||||
|
)
|
||||||
|
) then {
|
||||||
|
stop
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.5.29-06242025'
|
VERS='5.5.30-06262025'
|
||||||
NM_BETA=false
|
NM_BETA=false
|
||||||
|
|
||||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '
|
||||||
|
|||||||
@@ -1523,7 +1523,9 @@ GUI(){
|
|||||||
backup-unifinvr) BACKUP_UNIFINVR;;
|
backup-unifinvr) BACKUP_UNIFINVR;;
|
||||||
|
|
||||||
test)
|
test)
|
||||||
tmp=tmp
|
if [ ! -f /etc/rsyslog.d/01-ignore-session-messages.conf ]; then
|
||||||
|
[ -f ${NM_FOLDER}/conf/01-ignore-session-messages.conf ] && cp ${NM_FOLDER}/conf/01-ignore-session-messages.conf /etc/rsyslog.d/
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
skip) SKIP_SERVER_CHECKS ${2};;
|
skip) SKIP_SERVER_CHECKS ${2};;
|
||||||
|
|||||||
Reference in New Issue
Block a user