mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 22:40:17 -05:00
make log truncation the default
This commit is contained in:
@@ -225,6 +225,16 @@ HasConf:
|
||||
|
||||
ext_skip:
|
||||
|
||||
; Check for truncate
|
||||
ReadINIStr $0 "$2\mt-daapd.conf" "general" "truncate"
|
||||
StrCmp $0 "" trunc_set trunc_skip
|
||||
|
||||
trunc_set:
|
||||
WriteINIStr "$2\mt-daapd.conf" "general" "truncate" "1"
|
||||
|
||||
trunc_skip:
|
||||
|
||||
|
||||
SetAutoClose False
|
||||
SectionEnd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user