1
General Discussion / Custom script and logging
« on: August 31, 2023, 04:25:53 pm »
I have a sh script that writes to a log file. It's primarily used on linux boxes, how can I adapt it to OPNsense?
I usually just drop it in /usr/local/bin and it logs to /var/log. I noticed there isn't a logrotate install. How do I handle log file rotation in OPNsense?
Thanks!
I usually just drop it in /usr/local/bin and it logs to /var/log. I noticed there isn't a logrotate install. How do I handle log file rotation in OPNsense?
Thanks!