SABnzbdplus将不会在启动时启动,但是运行init.d脚本可以正常运行


9

我正在运行Ubuntu 12.04服务器版本(静态LAN IP),并按照此处的说明使用apt安装SABnzbdplus: Ubuntu PPA存储库

安装进行顺利,服务器下载等没问题!问题是我已经将/ etc / default / sabnzbdplus编辑为提供给以下人员的指导:

# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.

# [required] user or uid of account to run the program as:
USER=omar

# [optional] full path to the configuration file of your choice;
#            otherwise, the default location (in $USER's home
#            directory) is used:
CONFIG=

# [optional] hostname/ip and port number to listen on:
HOST=0.0.0.0
PORT=8080

# [optional] extra command line options, if any:
EXTRAOPTS=

我的(omar)运行级别是N 2。

不太确定该怎么做,因为执行:/etc/init.d/sabnzbdplus工作正常且没有错误。

不知道在这里做什么。建议和协助将不胜感激!

谢谢,

Answers:


0

指南忘了

sudo update-rc.d sabnzbdplus defaults

此命令将以正确的运行级别添加链接,以便sabnzbdplus在启动,重新引导,关闭等时启动和停止。

编辑:如果您得到那些链接已经到位的消息,请查看问题

EDIT2:或者一个


我尝试过,但没有成功。我刚刚切换到Debian,并且一切正常。
Omar Mir 2013年

哦,那太糟糕了,很高兴您能正常工作!
Gerhard Burger 2013年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.