🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2023-03-14 20:09:43 -04:00
parent bd55aefc0e
commit b5917168c0
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 0 additions and 3 deletions

View File

@ -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"

View File

@ -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"