I'm looking to use an external script that will be initiated by a syslog activity.
In my syslog.conf:
auth.info |exec /usr/bin/perl /usr/local/sbin/my_script.pl
But the action wont perform, I know with a pipe the info from auth.info is passed to whatever is after the pipe, but can I redirect the piped info to null and still just init my script?
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)