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

Ensure MariaDB is started before StoRM Frontend on boot

XMLWordPrintable

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

      StoRM frontend needs the database to be up before starting, otherwise it fails on boot.
      In case you have an all-in-one deployment this could be an annoying issue each time you restart your host. We can solve this by adding After=mariadb.service into the Unit:

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

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

      Evaluate if this can be added also to Backend's systemd unit.

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

              Created:
              Updated:
              Resolved: