Ankündigung

Einklappen
Keine Ankündigung bisher.

Ich kann smarthome nicht mit --stop beenden?!?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Ich kann smarthome nicht mit --stop beenden?!?

    Hallo,
    ich hätte da noch ein kleines Problem....

    Warum kann ich smarthome nicht mit:

    /usr/local/smarthome/bin/smarthome.py --stop

    beenden und mit --start wieder starten?

    Code:
     ps -aux | grep smarthome
    smartho+   598  5.0  2.6 192560 24868 ?        Sl   14:24   0:10 /usr/bin/python3 /usr/local/smarthome/bin/smarthome.py
    pi         690  0.0  0.2   4772  1948 pts/0    S+   14:28   0:00 grep --color=auto smarthome
    mache ich das so, läuft smarthome zwei mal!
    Code:
    pi@homeserver:~ $ /usr/local/smarthome/bin/smarthome.py --stop
    pi@homeserver:~ $ /usr/local/smarthome/bin/smarthome.py --start
    Daemon PID 702
    pi@homeserver:~ $ ps -aux | grep smarthome
    smartho+   598  3.0  2.6 192560 24868 ?        Sl   14:24   0:12 /usr/bin/python3 /usr/local/smarthome/bin/smarthome.py
    pi         702 96.7  2.2  83348 20872 ?        Rl   14:31   0:03 python3 /usr/local/smarthome/bin/smarthome.py --start
    pi         710  0.0  0.2   4772  2028 pts/0    S+   14:31   0:00 grep --color=auto smarthome
    Ich kann smarthome weder mit root, pi, oder smarthome Benutzer beenden. Lediglich ein Kill hilft hier weiter.

    Könnte mir da noch einmal jemand helfen?

    #2
    Läuft es evtl. als Dienst?

    Code:
    sudo service smarthome stop
    /tom

    Kommentar


      #3
      Jub, das wars!

      Vielen Dank Tom!

      Kommentar


        #4
        btw - das sieht man oben in deiner Ausgabe, einmal ist der sh.py-Prozess von user "smarthome" und einmal von user "pi" gestartet. In den wenigsten Fällen kann ein User die Prozesse von einem anderen User beenden

        Kommentar

        Lädt...
        X