From b5917168c0710983bb56e6eb5b68693ce98a9762 Mon Sep 17 00:00:00 2001 From: casjay Date: Tue, 14 Mar 2023 20:09:43 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rootfs/usr/local/etc/docker/init.d/00-aria2c.sh | 1 - rootfs/usr/local/etc/docker/init.d/zz-nginx.sh | 2 -- 2 files changed, 3 deletions(-) diff --git a/rootfs/usr/local/etc/docker/init.d/00-aria2c.sh b/rootfs/usr/local/etc/docker/init.d/00-aria2c.sh index e433dc3..d691a94 100755 --- a/rootfs/usr/local/etc/docker/init.d/00-aria2c.sh +++ b/rootfs/usr/local/etc/docker/init.d/00-aria2c.sh @@ -45,7 +45,6 @@ __update_conf_files() { [ -d "$data_dir" ] || mkdir -p "$data_dir" [ -d "/data/logs/aria2" ] || mkdir -p "/data/logs/aria2" cp -Rf "$conf_dir/." "$etc_dir/" - ln -sf "/dev/stdout" "/data/logs/aria2/aria2.log" ln -sf "$conf_dir/aria2.session" "$etc_dir/aria2.session" if [ -f "$etc_dir/aria-ng.config.js" ]; then rm -Rf "$get_config" diff --git a/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh b/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh index 7ae770c..da5e122 100755 --- a/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh +++ b/rootfs/usr/local/etc/docker/init.d/zz-nginx.sh @@ -44,8 +44,6 @@ __update_conf_files() { chmod -Rf 777 "$data_dir/log/nginx" [ -d "$etc_dir" ] || mkdir -p "$etc_dir" [ -d "$conf_dir" ] && cp -Rf "$conf_dir/." "$etc_dir/" - ln -sf "/dev/stderr" "var/log/nginx/nginx.log" - ln -sf "/dev/stdout" "/data/logs/nginx/access.log" if [ "$SSL_ENABLED" = "true" ]; then __file_copy "$conf_dir/nginx.ssl.conf" "$etc_dir/nginx.conf" __file_copy "$conf_dir/vhosts.d/default.ssl.conf" "$etc_dir/vhosts.d/default.conf"