【发布时间】:2015-11-10 22:49:45
【问题描述】:
我已经阅读过有关如何将树莓派设置为种子盒的不同教程,但我认为大多数操作教程都已过时。
我还使用他的命令检查了我的 deluge 守护程序版本:
deluge -v
它返回这个:
deluged: 1.3.10
libtorrent: 0.16.18.0
到目前为止,我一直遵循 How-To Geek 教程。
链接:http://www.howtogeek.com/142044/how-to-turn-a-raspberry-pi-into-an-always-on-bittorrent-box/
在我看到错误后,我已经完全卸载并删除了 deluge 的所有文件。
本教程建议使用此命令:
sudo wget -O /etc/default/deluge-daemon http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt
但是没有像/etc/default/deluge-daemon这样的文件,而是有一个名为deluge的文件(可能是新版本中deluge-daemon的缩写)
该命令的基本作用是将文件http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt 的内容复制到位于/etc/default/deluge-daemon 的文件中。
由于我找不到 deluged-daemon,我选择使用 /etc/default/deluged 来执行此操作
/etc/default/deluged 的原始内容:
# Defaults for deluged initscript
# sourced by /etc/init.d/deluged
# change to 1 to enable daemon
ENABLE_DELUGED=0
文件http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt上提供的内容:
# Configuration for /etc/init.d/deluge-daemon
# The init.d script will only run if this variable non-empty.
DELUGED_USER="pi" # !!!CHANGE THIS!!!!
# Should we run at startup?
RUN_AT_STARTUP="YES"
但是两个文件看起来不同,并且 deluge 守护程序在启动时没有加载。
【问题讨论】:
标签: raspberry-pi raspbian raspberry-pi2 init.d