我正在运行 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=
Run Code Online (Sandbox Code Playgroud)
我的 (omar) 运行级别是 N 2。
不太确定该怎么做,因为执行:/etc/init.d/sabnzbdplus 工作正常且无错误。
不知道在这里做什么。建议和帮助将不胜感激!
谢谢,
导游忘记了
sudo update-rc.d sabnzbdplus defaults
Run Code Online (Sandbox Code Playgroud)
此命令将在正确的运行级别添加链接,以便 sabnzbdplus 在引导、重新引导、关闭等时启动和停止。
编辑:如果您收到这些链接已就位的消息,请查看此问题
编辑2:或者这个