fix fstab

This commit is contained in:
iceBear67
2026-07-05 14:38:53 +08:00
parent a776332689
commit ce05ea534f
4 changed files with 10 additions and 3 deletions

View File

@@ -10,6 +10,11 @@ Edit corresponding files in [image/overlay](./image/overlay) to customize VM beh
# cp .env.example .env # cp .env.example .env
# vim .env # vim .env
# VM_OPTS="--no-cache" HY_OPTS="--no-cache" ./BUILD.sh # VM_OPTS="--no-cache" HY_OPTS="--no-cache" ./BUILD.sh
# fallocate -l 128G ./data/data.raw
# sgdisk -o -n 1:0:0 -t 1:8300 ./data.raw
# losetup -Pf ./data.raw
# mkfs.ext4 /dev/loop0p1
# losetup -d /dev/loop0
# vim docker-compose.yml # vim docker-compose.yml
# docker compose up # docker compose up

View File

@@ -1,4 +1,4 @@
# /etc/fstab: static file system information # /etc/fstab: static file system information
# #
# <file system> <mount point> <type> <options> <dump> <pass> # <file system> <mount point> <type> <options> <dump> <pass>
/dev/vdb /data ext4 rw,noatime 0 1 /dev/vdb1 /data ext4 rw,noatime 0 1

View File

@@ -1,7 +1,8 @@
#!/sbin/openrc-run #!/sbin/openrc-run
command="/usr/bin/auth-server" command="/usr/bin/auth-server"
command_background=true command_background=true
command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_ >/dev/console 2>&1" command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_ 2>&1"
output_log="/data/auth-server.log"
pidfile="/run/${RC_SVCNAME}.pid" pidfile="/run/${RC_SVCNAME}.pid"

View File

@@ -5,6 +5,7 @@ depend() {
} }
command="/usr/bin/bubble" command="/usr/bin/bubble"
command_args="-config /daemon/config.yaml >/dev/console 2>&1" command_args="-config /daemon/config.yaml 2>&1"
pidfile="/run/${RC_SVCNAME}.pid" pidfile="/run/${RC_SVCNAME}.pid"
command_background=true command_background=true
output_log="/data/bubble.log"