注意:部分文章发布时间较长,可能存在未知因素,购买时建议在本站搜索商家名称,先充分了解商家动态。
交流:唯一投稿邮箱:hostvps@88.com。
网友 男人至*是少年 说:
https://mrchou.com/internet/how-to-set-emby-by-docker.html
我配置rclone时该起什么名字啊,看不懂
cat > /etc/******d/******/rclone@.******* <<EOF
[Unit]
Desc**ption=rclone mount %I d**ve
After=ne**ork.target
[Service]
Type=******
Exe**tart=/usr/bin/rclone mount %i: /**ot/wow/%i –use-mmap –umask 000 –def**lt-permi**ions –no-check-certificate –allow-other –allow-non-empty –dir-cache-time 24h –cache-dir=/home/cache –vfs-cache-mode full –buffer-size 256M –vfs-read-ahead 512M –vfs-read-c***k-size 32M –vfs-read-c***k-size-limit 128M –vfs-cache-max-size 20G –low-l***l-ret**es 200 –config /**ot/.config/rclone/rclone.conf
[Install]
WantedBy=multi-user.target
EOF
网友 google-ch**me 说:
查文档比在这里问快。
Service Templates
It is po**ible for ******d *******s to take a single argument via the &*uot;*******@argument.*******&*uot; syntax. Such *******s are called &*uot;instantiated&*uot; *******s, while the unit definition without the argument parameter is called a &*uot;template&*uot;. An example could be a dhcpcd@.******* ******* template which takes a ne**ork inte***ce as a parameter to form an instantiated *******. Within the ******* file, this parameter or &*uot;instance name&*uot; can be acce**ed with %-specifiers. See ******d.unit(5) for details.
网友 deep**be 说:
挂载多个分别命名
网友 朝花夕拾 说:
人家博客下不是可以留言吗,为啥还要他进来这。
博客下 55 条评论,怎么也有 20 多人了。
每人发一条”进来一下“,可以从 loc一直发到贴吧。
网友 那山很优雅 说:
我是这样的gd是我挂载的盘名,/home/GoogleD**ve是路径
/usr/bin/rclone mount gd: /home/GoogleD**ve \
–umask 0000 \
–def**lt-permi**ions \
–allow-non-empty \
–allow-other \
–buffer-size 32M \
–dir-cache-time 12h \
–vfs-read-c***k-size **M \
–vfs-read-c***k-size-limit 1G &
cat > /etc/******d/******/rclone.******* <<EOF
[Unit]
Desc**ption=Rclone
A**ertPathIsDirectory=LocalFolder
After=ne**ork-online.target
[Service]
Type=******
Exe**tart=/usr/bin/rclone mount gd: /home/GoogleD**ve \
–umask 0000 \
–def**lt-permi**ions \
–allow-non-empty \
–allow-other \
–buffer-size 32M \
–dir-cache-time 12h \
–vfs-read-c***k-size **M \
–vfs-read-c***k-size-limit 1G
Exe**top=/bin/fusermount -u LocalFolder
Restart=on-abort
User=**ot
[Install]
WantedBy=def**lt.target
EOF
贝壳主机网

