Hi,
habe eben nzbget auf meinem pi installiert und bekomme leider keinen autostart hin.
Ich habe es folgendermaßen versucht:
Da habe ich dann folgendes reingepackt:
[font="monospace, serif"]#!/bin/sh[/font]
[font="monospace, serif"]# Start/stop the NZBget daemon.[/font]
[font="monospace, serif"]#[/font]
[font="monospace, serif"]case "$1" in[/font]
[font="monospace, serif"]start) echo -n "Start services: NZBget"[/font]
[font="monospace, serif"] /usr/local/bin/nzbget -D[/font]
[font="monospace, serif"] ;;[/font]
[font="monospace, serif"]stop) echo -n "Stop services: NZBget"[/font]
[font="monospace, serif"] /usr/local/bin/nzbget -Q[/font]
[font="monospace, serif"] ;;[/font]
[font="monospace, serif"]restart)[/font]
[font="monospace, serif"] $0 stop[/font]
[font="monospace, serif"] $0 start[/font]
[font="monospace, serif"] ;;[/font]
[font="monospace, serif"]*) echo "Usage: $0 start|stop|restart"[/font]
[font="monospace, serif"] exit 1[/font]
[font="monospace, serif"] ;;[/font]
[font="monospace, serif"]esac[/font]
[font="monospace, serif"]exit 0[/font]
danach speichern, exit und
zum Schluss nur noch
Leider bekomme ich beim letzten Schritt eine Fehlermeldung, aus der ich nicht ganz schlau werde:
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'nzbget' missing LSB tags and overrides
insserv: There is a loop between service watchdog and nzbget if stopped
insserv: loop involving service nzbget at depth 2
insserv: loop involving service watchdog at depth 1
insserv: Stopping nzbget depends on watchdog and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
Weiß jemand weiter - bin mit den Nerven echt am Ende!
Danke