Skip to content

Commit

Permalink
Merge pull request #56 from monlor:test
Browse files Browse the repository at this point in the history
fix: 🐛 emby和jellyfin依赖文件修改
  • Loading branch information
monlor authored Jun 6, 2024
2 parents 5f8ac9a + 634e32d commit ef9f9cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion emby/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ while ! wget -q -T 1 -O /dev/null "${ALIST_ADDR:=http://alist:5678}" > /dev/null
sleep 2
done

echo "等待元数据下载完成..."
echo "等待配置数据下载完成..."
while test ! -f /config/emby_meta_finished; do
sleep 2
done

echo "等待媒体数据下载完成..."
while test ! -f /media/emby_media_finished; do
sleep 2
done

cat > /etc/nsswitch.conf <<-EOF
hosts: files dns
networks: files
Expand Down
7 changes: 6 additions & 1 deletion jellyfin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ while ! curl -s -f -m 1 "${ALIST_ADDR:=http://alist:5678}" > /dev/null 2>&1; do
sleep 2
done

echo "等待元数据下载完成..."
echo "等待配置数据下载完成..."
while test ! -f /config/jellyfin_meta_finished; do
sleep 2
done

echo "等待媒体数据下载完成..."
while test ! -f /media/jellyfin_media_finished; do
sleep 2
done

cat > /etc/nsswitch.conf <<-EOF
hosts: files dns
networks: files
Expand Down

0 comments on commit ef9f9cf

Please sign in to comment.