This commit is contained in:
2025-06-26 21:18:42 -05:00
parent e520ced656
commit cca5ca23de
3 changed files with 16 additions and 2 deletions

View 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
}