在Raspberry Pi上启动时自动启动大洪水守护程序1.3.10

问题描述 投票:0回答:1

我已经通过不同的教程了解如何将raspberry pi设置为torrent盒,但我认为大多数的how-to教程已经过时了。

我还使用他的命令检查我的版本的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/

在我开始出错之后,我完全卸载并删除了所有的洪水文件。

教程建议使用此命令:

sudo wget -O /etc/default/deluge-daemon http://cdn5.howtogeek.com/wp-content/uploads/gg/up/sshot5151a8c86fb85.txt

但是没有像/ etc / default / deluge-daemon这样的文件,而是有一个被淹没的命名文件(在新版本中可能是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
1个回答
2
投票

我设法使用本指南解决了这个问题:http://dev.deluge-torrent.org/wiki/UserGuide/Service/systemd

  1. 按照本指南中的说明操作(您可以跳过deluge-web说明)。
  2. 请注意,deluge用户是使用--home /var/lib/deluge创建的。
  3. auth用户的主目录中更新core.conf(设置帐户)和allow_remote(设置deluge标志)文件(而不是通常在其他教程中提到的pi用户的主目录)。
  4. 重启
© www.soinside.com 2019 - 2024. All rights reserved.