FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Systemd service template

    Scheduled Pinned Locked Moved
    General Discussion
    0
    3
    4.5k
    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.
    • M
      manuel.voss
      last edited by

      Hi everybody. 🙂

      I managed to install FusionAuth on Ubuntu. Went by the official guides and ran

      sh -c "curl -fsSL https://raw.githubusercontent.com/FusionAuth/fusionauth-install/master/install.sh | sh -s - -z"
      

      Taken from https://fusionauth.io/download/.

      This properly installed FusionAuth. After some fiddling around with the database setup, I can now run /var/lib/fusionauth/bin/startup.sh and FusionAuth will be up and running.

      According to the documentation, services for systemd should have been installed, but that somehow didn't happen. So I can't call systemctl start fusionauth-app, also there is no file at /etc/init.d/fusionauth-app.

      In order to still have FA running as a service, I created a quick systemd service configuration:

      [Unit]
      Description=FusionAuth
      
      [Service]
      Type=forking
      ExecStart=/var/lib/fusionauth/bin/startup.sh
      
      [Install]
      WantedBy=multi-user.target
      

      Sadly, this doesn't work. Does anyone have a working service definition or are there some templates?

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Hmmm. I think you might be looking for the deb installation method, rather than the zipfile.

        https://fusionauth.io/direct-download/ has the links.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • robotdanR
          robotdan
          last edited by

          @dan said in Systemd service template:

          https://fusionauth.io/direct-download/

          To Add to what @dan mentioned, you can install .deb or .rpm packages using the fast path install method. It will default to zip file installation.

          For additional ways to call it - see the Fast Path install guide.
          https://fusionauth.io/docs/v1/tech/installation-guide/fast-path/

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