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 755 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
              JingPad (24.04-1.x daily)
              OnePlus Nord N10 5G (24.04-2.x daily)
              PinePhone OG (20.04)
              Meizu Pro 5 (16.04 DEV)

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post