HomeVyOS Platform

event-handler: T3083: Add simple event-handler

Description

event-handler: T3083: Add simple event-handler

Event-handler allows executing a custom script when in logs it
detects configured "pattern"
A simple implemenation

set system event-handler first pattern '.*ssh2.*'
set system event-handler first script '/config/scripts/hello.sh'

Details

Provenance
ViacheslavAuthored on May 28 2022, 6:41 PM
Parents
rVYOSONEX47d9eb7e7d81: smoketest: rip: T4448: improve class startup time
Branches
Loading...
Tags
Loading...