SABnzbdplus 无法在启动时启动,但运行 init.d 脚本运行正常

SABnzbdplus 无法在启动时启动,但运行 init.d 脚本运行正常

我正在运行 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 工作正常且没有错误。

不知道该怎么做。非常感谢您的建议和帮助!

谢谢,

答案1

导游忘记了

sudo update-rc.d sabnzbdplus defaults

此命令将在正确的运行级别添加链接,以便 sabnzbdplus 在启动、重启、关闭等情况下启动和停止。

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

编辑2:或

相关内容