Skip to content

Commit

Permalink
云端录像增加保留磁盘参数,默认3GB
Browse files Browse the repository at this point in the history
  • Loading branch information
vanjoge committed Jan 31, 2024
1 parent a067793 commit 6757f2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions script/cdvr/MyData/SettingConfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
<RecordPath>/MyData/Videos</RecordPath>
<Prefix>ydr</Prefix>
<SwaggerDoc>true</SwaggerDoc>
<DiskReserveSpace>3</DiskReserveSpace>
</Setting>
1 change: 1 addition & 0 deletions script/cdvr/startcdvr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function update_config(){
updateXml $CDVR_DOCKER_PATH/SettingConfig.xml RecordPath "$RecordPath"
updateXml $CDVR_DOCKER_PATH/SettingConfig.xml Prefix "$CDVR_PREFIX"
updateXml $CDVR_DOCKER_PATH/SettingConfig.xml SwaggerDoc $SwaggerUI
updateXml $CDVR_DOCKER_PATH/SettingConfig.xml DiskReserveSpace $CDVR_KEEP_GB


if [ ! -n "$ClusterServer" ] ;then
Expand Down
1 change: 1 addition & 0 deletions script/default_args.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ CDVR_VERSION=${CDVR_VERSION:-"1.3.12"}
CDVR_DOCKER_CONTAINER_NAME=${CDVR_DOCKER_CONTAINER_NAME:-"rtvscdvr"}
CDVR_DOCKER_RECORD_PATH=${CDVR_DOCKER_RECORD_PATH:-"/etc/service/cdvr"}
CDVR_DOCKER_HTTP_PORT=${CDVR_DOCKER_HTTP_PORT:-"30889"}
CDVR_KEEP_GB=${CDVR_KEEP_GB:-"3"}



Expand Down

0 comments on commit 6757f2e

Please sign in to comment.