From 1306be521ac3d951b88f80152c1ea7328155ac3d Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 26 Apr 2023 21:52:30 +0200 Subject: [PATCH 1/3] Tabs --- run/run.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/run/run.sh b/run/run.sh index d71c5f9..3aed190 100755 --- a/run/run.sh +++ b/run/run.sh @@ -3,11 +3,11 @@ set -eu # Docker environment variables -: ${URL:=''} # URL of the PAT file -: ${DEBUG:='N'} # Enable debug mode -: ${ALLOCATE:='Y'} # Preallocate diskspace -: ${CPU_CORES:='1'} # Amount of CPU cores -: ${DISK_SIZE:='16G'} # Initial data disk size +: ${URL:=''} # URL of the PAT file +: ${DEBUG:='N'} # Enable debug mode +: ${ALLOCATE:='Y'} # Preallocate diskspace +: ${CPU_CORES:='1'} # Amount of CPU cores +: ${DISK_SIZE:='16G'} # Initial data disk size : ${RAM_SIZE:='512M'} # Maximum RAM amount echo "Starting Virtual DSM for Docker v${VERSION}..." From 541cd4c73d3c453515b5c7b4036a3d4632949b62 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 26 Apr 2023 21:53:07 +0200 Subject: [PATCH 2/3] Tabs --- run/disk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run/disk.sh b/run/disk.sh index c356db5..f860f85 100644 --- a/run/disk.sh +++ b/run/disk.sh @@ -3,8 +3,8 @@ set -eu # Docker environment variables -: ${DISK_IO:='native'} # I/O Mode, can be set to 'native', 'threads' or 'io_turing' -: ${DISK_ROTATION:='1'} # Rotation rate, set to 1 for SSD storage and increase for HDD +: ${DISK_IO:='native'} # I/O Mode, can be set to 'native', 'threads' or 'io_turing' +: ${DISK_ROTATION:='1'} # Rotation rate, set to 1 for SSD storage and increase for HDD : ${DISK_CACHE:='none'} # Caching mode, can be set to 'writeback' for better performance BOOT="$STORAGE/$BASE.boot.img" From ebbd22f90c47a0495c5f8e1ba7b9d4797b0eb0c0 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 26 Apr 2023 21:54:43 +0200 Subject: [PATCH 3/3] Tabs --- run/run.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/run/run.sh b/run/run.sh index 3aed190..7cf18bb 100755 --- a/run/run.sh +++ b/run/run.sh @@ -3,12 +3,12 @@ set -eu # Docker environment variables -: ${URL:=''} # URL of the PAT file -: ${DEBUG:='N'} # Enable debug mode -: ${ALLOCATE:='Y'} # Preallocate diskspace -: ${CPU_CORES:='1'} # Amount of CPU cores -: ${DISK_SIZE:='16G'} # Initial data disk size -: ${RAM_SIZE:='512M'} # Maximum RAM amount +: ${URL:=''} # URL of the PAT file +: ${DEBUG:='N'} # Enable debug mode +: ${ALLOCATE:='Y'} # Preallocate diskspace +: ${CPU_CORES:='1'} # Amount of CPU cores +: ${DISK_SIZE:='16G'} # Initial data disk size +: ${RAM_SIZE:='512M'} # Maximum RAM amount echo "Starting Virtual DSM for Docker v${VERSION}..."