Sabnzbd + newsgrabber binário: serviço não habilitado, ubuntu

1
SABnzbd+ binary newsgrabber: service not enabled, edit /etc/default/sabnzbdpl

Esta mensagem aparece no meu terminal. Eu pesquisei, mas não encontrei resposta. Eu sou um novato Ubuntu. Acho que perdi um passo, talvez algo com init. Quem pode ajudar? ;)

Eu instalei o SABnzbd, então me certifiquei de que ele seja atualizado automaticamente: assim:

gksu add-apt-repository ppa:lottanzb/ppa
The program 'gksu' is currently not installed. You can install it by typing:
sudo apt-get install gksu
gksu add-apt-repository ppa:lottanzb/ppa
The program 'gksu' is currently not installed. You can install it by typing:
sudo apt-get install gksu
sudo apt-get install gksu
[sudo] password for ninti: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libssl0.9.8 libufe-xidgetter0 webaccounts-extension-common
  xul-ext-websites-integration
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgksu2-0
The following NEW packages will be installed:
  gksu libgksu2-0
0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded.
Need to get 99,6 kB of archives.
After this operation, 740 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe libgksu2-0 amd64 2.0.13~pre1-6ubuntu4 [71,8 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu/ trusty/universe gksu amd64 2.0.2-6ubuntu2 [27,8 kB]
Fetched 99,6 kB in 0s (844 kB/s)
Selecting previously unselected package libgksu2-0.
(Reading database ... 203906 files and directories currently installed.)
Preparing to unpack .../libgksu2-0_2.0.13~pre1-6ubuntu4_amd64.deb ...
Unpacking libgksu2-0 (2.0.13~pre1-6ubuntu4) ...
Selecting previously unselected package gksu.
Preparing to unpack .../gksu_2.0.2-6ubuntu2_amd64.deb ...
Unpacking gksu (2.0.2-6ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Setting up libgksu2-0 (2.0.13~pre1-6ubuntu4) ...
update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in auto mode
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Setting up gksu (2.0.2-6ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
ninti@ninti-K52Jc:~$ sudo /etc/init.d/sabnzbdplus start
[sudo] password for ninti: 
 * SABnzbd+ binary newsgrabber: service not enabled, edit /etc/default/sabnzbdplus
    
por Saskia 13.09.2015 / 11:59

1 resposta

1

O Sabnzb só pode ser executado como um serviço depois de termos preenchido os campos obrigatórios em seu arquivo de configuração /etc/default/sabnzbdplus .

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

Entregue seu <your_username> na linha acima. Para editar um arquivo em /etc , precisamos de permissão de root, por exemplo, executando um dos dois comandos:

sudo nano /etc/default/sabnzbdplus
gksu /etc/defaults/sabnzbdplus

Observação: A edição de arquivos como raiz pode ter efeitos colaterais indesejados na estabilidade do sistema. Só devemos fazê-lo se soubermos o que estamos fazendo.

Mas, não precisamos executar o sabnzb como um serviço toda vez que o computador for iniciado. É perfeitamente correto executá-lo somente quando precisamos clicando no seu ícone no Dash ou executando

sabnzbdplus --browser 1

em um terminal (isso abrirá a interface web em seu navegador em uma configuração padrão, digamos 0 para não abrir em um navegador).

    
por Takkat 13.09.2015 / 12:25