today
This commit is contained in:
1 parent
3acdc81891
commit
d3d9614825
2 files changed
+1
-1
No files matched your search
+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