Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-1401

Ensure MariaDB is started before StoRM Backend on boot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.11.21
    • 1.11.20
    • backend
    • Security Level: Public (Visbile by non-authn users.)
    • None

      StoRM Backend needs the database to be up before starting. It doesn't fail but the boot sequence could be better managed.
      We can solve this by adding After=mariadb.service into the Unit:

      [Unit]
      Description=StoRM Backend service
      After=mariadb.service
      

      This means that if mariadb service is installed and enabled then it is required to be started before StoRM Backend. In case mariadb is not enabled, then this line has no impact.

            vianello Enrico Vianello
            vianello Enrico Vianello
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: