Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 5.5.37
    • Component/s: None
    • Labels:

      Description

      As many other services do (in CentOS), it would be handy if /etc/init.d/mysql could source another script, in which some actions can be done (mount disks, error checking...).

      I suggest the following:

      # Find the name of the script
      NAME=`basename $0`
      # import file if present
      [ -f /etc/sysconfig/${NAME} ] && . /etc/sysconfig/${NAME}
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              There are no comments yet on this issue.

                People

                • Assignee:
                  serg Sergei Golubchik
                  Reporter:
                  superber Alberto
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: