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を実行するため、何をすべきかよくわからない。

ここで何をすべきかわからない。アドバイスと援助をいただければ幸いです!

おかげで、

回答:


0

ガイドは忘れた

sudo update-rc.d sabnzbdplus defaults

このコマンドは、正しいランレベルでリンクを追加するため、起動、再起動、シャットダウンなどでsabnzbdplusが起動および停止します。

編集:それらのリンクがすでに配置されているというメッセージが表示された場合は、この質問を見てください

EDIT2:または、この 1


私はそれを試してみましたが、うまくいきませんでした。私はDebianに切り替えたばかりで、すべてうまくいきました。
Omar Mir 2013年

ああ、それはあまりにも悪いですが、あなたがそれをうまく動かせてうれしいです!
ゲルハルトバーガー2013年
弊社のサイトを使用することにより、あなたは弊社のクッキーポリシーおよびプライバシーポリシーを読み、理解したものとみなされます。
Licensed under cc by-sa 3.0 with attribution required.