UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. rpetya
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    rpetya

    @rpetya

    1
    Reputation
    54
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    rpetya Unfollow Follow

    Best posts made by rpetya

    • UT device as web server

      Got OpenHAB installed in libertine, on a Nexus5 running Ubuntu 16.04 (OTA-5).
      The service can be started in Terminal (web interface accessible from other device) but only as long as the Terminal app is in foreground. Once I switch to other apps on the Nexus, the process is stopped (resumable with fg in terminal).
      How to make a service in a libertine container start automatically and run in the background?

      posted in Support
      R
      rpetya

    Latest posts made by rpetya

    • RE: UT device as web server

      My goal is to use the phone as a server (a fancy RPi, yes). My current system is running on an old laptop and I was wondering if I could replace that with a Nexus (as it also runs Ubuntu). To my surprise it does a great job, sticked to the wall it makes a very (scratched, but) very cool thermostat. The only thing is, should the device reboot for whatever reason, someone must start apps and services manually.

      posted in Support
      R
      rpetya
    • RE: UT device as web server

      Thanks for your tips!
      If I enable Window Mode with the tweak tool, Terminal keeps running when I switch to Browser. Excellent!
      Didn't figure out yet how to start the service on boot though...

      posted in Support
      R
      rpetya
    • RE: UT device as web server

      In Terminal libertine-container-manager exec -c "/bin/bash" and then /etc/init.d/openhab2 start

      With OpenHAB there is an other method as well: libertine-container-manager exec -c "/usr/bin/openhab-cli start" which also starts the openhab console (does not return to prompt as above)

      posted in Support
      R
      rpetya
    • UT device as web server

      Got OpenHAB installed in libertine, on a Nexus5 running Ubuntu 16.04 (OTA-5).
      The service can be started in Terminal (web interface accessible from other device) but only as long as the Terminal app is in foreground. Once I switch to other apps on the Nexus, the process is stopped (resumable with fg in terminal).
      How to make a service in a libertine container start automatically and run in the background?

      posted in Support
      R
      rpetya