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

    CentOS 8 systemctl fusionauth-api service

    Scheduled Pinned Locked Moved
    Q&A
    0
    2
    254
    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.
    • I
      infosec
      last edited by

      When there is a startup without a local MySQL or PostGreSQL service, the service fails to connect to the remote database.

      Please change the /usr/lib/systemd/system/fusionauth-app.service After list to include network.target:

      [Unit]
      Description=FusionAuth App
      After=network.target mysql.service postgresql.service fusionauth-search.service

      I'm running the service on a different machine than the database and this will ensure the fusionauth-app.service always starts properly.

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

        @infosec welcome to the FusionAuth community!

        This seems like a bug in our rpms. Can you please file a bug here: https://github.com/fusionauth/fusionauth-issues/issues

        Feel free to reference this forum post.

        Thanks so much!

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

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