侧边栏壁纸
博主头像
sirgo的博客 博主等级

每天进步一点点,一年之后你会看到巨大的变化

  • 累计撰写 58 篇文章
  • 累计创建 46 个标签
  • 累计收到 2 条评论

目 录CONTENT

文章目录

UNRAID-命令备忘

sirgo
2024-08-03 / 0 评论 / 0 点赞 / 10 阅读 / 0 字

适用于UNRAID6.12.x,其他版本未测试

  1. 重启Docker

    /etc/rc.d/rc.docker restart   
  2. SMB手动挂载命令(基于Unassigned Devices,UNRAID7已经集成到系统内部)

    /usr/local/sbin/rc.unassigned mount //192.1681.1.1/mnt /mnt/remotes/mnt1
  3. UNRAID手动发送通知

    /usr/local/emhttp/webGui/scripts/notify -i warning -s "通知消息内容"

    -i 参数可选项:normal|warning|alert 其他参数具体支持如下:

    root@Tower~#  /usr/local/emhttp/webGui/scripts/notify 
    notify [-e "event"] [-s "subject"] [-d "description"] [-i "normal|warning|alert"] [-m "message"] [-x] [-t] [-b] [add]
      create a notification
      use -e to specify the event
      use -s to specify a subject
      use -d to specify a short description
      use -i to specify the severity
      use -m to specify a message (long description)
      use -l to specify a link (clicking the notification will take you to that location)
      use -x to create a single notification ticket
      use -r to specify recipients and not use default
      use -t to force send email only (for testing)
      use -b to NOT send a browser notification
      all options are optional
    
    notify init
      Initialize the notification subsystem.
    
    notify smtp-init
      Initialize sendmail configuration (ssmtp in our case).
    
    notify get
      Output a json-encoded list of all the unread notifications.
    
    notify archive file
      Move file from 'unread' state to 'archive' state.	 

0

评论区