Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

suosuosi

Members
  • Joined

  • Last visited

Solutions

  1. suosuosi's post in 有没有办法在开启/关闭某个docker/虚拟机时自动执行脚本 was marked as the answer   
    #!/bin/bash # 设置你要检查容器的名称 container_name="AList" # 获取容器的状态 container_status=$(docker inspect -f '{{.State.Status}}' "$container_name" 2>/dev/null) # 检查容器状态并输出结果 if [ -z "$container_status" ]; then echo "容器 '$container_name' 不存在或无法访问。" exit 1 fi if [ "$container_status" == "running" ]; then echo "容器 '$container_name' 已经运行。" # 容器运行中,需要执行的代码 else echo "容器 '$container_name' 已关闭。" # 容器停运,需要执行的代码 fi 这是判断的脚本,判断后执行什么,就需要自己加了

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.