Compare commits
1
Commits
3acdc81891
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3d9614825 |
+1
-1
@@ -24,7 +24,7 @@ for log in /4server/data/00*/logs/odoo.log; do
|
||||
|
||||
# Copy preserving permissions, then truncate the live log
|
||||
PERMS=$(stat -c '%a' "$log")
|
||||
OWNER=$(stat -c '%U:%G' "$log")
|
||||
OWNER=$(stat -c '%u:%g' "$log")
|
||||
cp "$log" "$ARCHIVE"
|
||||
: > "$log"
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user