mirror of
https://github.com/casjaysdevdocker/aria2
synced 2025-01-18 00:34:23 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
bd55aefc0e
commit
b5917168c0
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user