diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-05-28 18:41:21 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-06-06 15:26:20 +0000 |
commit | 0bbe8d655df4bc50d70aeef2d3199a73e0af9f03 (patch) | |
tree | f765284c34e9c848ac24f130266d6f9dbd941049 /src/systemd/vyos-event-handler.service | |
parent | 47d9eb7e7d8197012ab0aa5e878bd0a3bb83ae33 (diff) | |
download | vyos-1x-0bbe8d655df4bc50d70aeef2d3199a73e0af9f03.tar.gz vyos-1x-0bbe8d655df4bc50d70aeef2d3199a73e0af9f03.zip |
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'
Diffstat (limited to 'src/systemd/vyos-event-handler.service')
0 files changed, 0 insertions, 0 deletions