diff --git a/README.md b/README.md index fe7c179..cef44ba 100644 --- a/README.md +++ b/README.md @@ -335,7 +335,7 @@ TrueNas: 服务主机ubuntu: -- [使用setup_aquar.sh脚本进行环境初始化](./details/使用setup_aquar.sh脚本进行环境初始化) +- [使用setup_aquar.sh脚本进行环境初始化](./details/使用setup_aquar.sh脚本进行环境初始化.md) - [设置docker-compose等待nfs挂载后再启动](./details/设置docker-compose等待nfs挂载后再启动.md) - [使用truenasseeker.py脚本自动扫描nfs服务并挂载](./details/使用truenasseeker.py脚本自动扫描nfs服务并挂载.md) diff --git a/files/setup_aquar.sh b/files/setup_aquar.sh index c467b49..284a5ce 100644 --- a/files/setup_aquar.sh +++ b/files/setup_aquar.sh @@ -69,7 +69,7 @@ EOF chmod +x /usr/local/bin/aqserv echo '********安装docker********' -sudo apt-get install software-properties-common +sudo apt-get install -y software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ @@ -129,7 +129,7 @@ services: - 8920:8920 #optional - 7359:7359/udp #optional - 1900:1900/udp #optional - restart: unless-stopped + restart: unless-stopped syncthing: image: ghcr.io/linuxserver/syncthing container_name: syncthing