This website requires JavaScript.
Explore
Drone CI
Help
Register
Sign In
tildelinux
/
lb-config
Watch
3
Star
1
Fork
You've already forked lb-config
2
Code
Issues
Pull Requests
Releases
Wiki
Activity
main
lb-config
/
hooks
/
normal
/
0140-remove-log-files.hook....
10 lines
101 B
Bash
Executable File
Raw
Permalink
Blame
History
#!/bin/sh
set
-e
# Truncate log files
for
_FILE in
$(
find /var/log/ -type f
)
do
: >
${
_FILE
}
done
Reference in New Issue
View Git Blame
Copy Permalink