UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Start process in libertine when phone boots

    Scheduled Pinned Locked Moved Libertine
    4 Posts 3 Posters 484 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • D Offline
        DanVal
        last edited by DanVal

        Hi all,
        I have managed to install homeassistant and a couple more servers (influxdb, grafana) on my oneplus one running ubuntu touch using libertine. Now I want to start these when the phone boots, I thought it would be easy making it a service and configuring it with systemctl but it looks like it's not working. Is this even possible within libertine?
        I know I'm pushing the boundaries of what a phone is supposed to do, but it's fun nonetheless. I have not found much documentation about libertine itself other than how to launch things, so I'd love to learn more about it if you can help thank you!

        AppLeeA 1 Reply Last reply Reply Quote 1
        • AppLeeA Offline
          AppLee @DanVal
          last edited by

          Hi @danval

          I don't know how Libertine works, but Ubuntu Touch utilizes UpStart, not Systemd

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DanVal @AppLee
            last edited by

            @applee Thank you! It looks like I can run initctl list from terminal but not within the libertine container

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @DanVal
              last edited by

              @danval Indeed, as you have already experienced, Ubuntu Touch in general, and Libertine in particular, does not facilitate running background services.

              That having been said, I am very intrigued with your setup. Do the several services you installed in Libertine run well when you start them manually?

              🇦🇼 🇳🇱 🇺🇸 🇪🇸
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post