Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4082

How to set the number of restart attempts for cluster-dashboard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Koi 11.0.2
    • App Framework
    • None
    • NXP i.MX8

      We now want to add a restart attempt mechanism to the cluster-dashboard application so that when systemd fails to start the application for the first time, it tries to restart, but I read the application’s config.xml and afm-unit.conf (the two are used To generate the service file for systemd to start the application), there is currently no configuration that can be found in the service, such as:

       [Service]
      Restart=always
      RestartSec=1
      StartLimitInterval=60
      StartLimitBurst=50

      where can I implement this function? Thanks a lot

        1. afm-unit.conf
          26 kB
        2. 捕获.PNG
          40 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jsmoeller Jan-Simon Moeller
            huyf huyf huyf
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: