Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Custom script and logging
« previous
next »
Print
Pages: [
1
]
Author
Topic: Custom script and logging (Read 773 times)
lonelyadmin
Newbie
Posts: 5
Karma: 0
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Custom script and logging