Details
-
Task
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
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}
|
Attachments
Issue Links
Activity
Transition | Time In Source Status | Execution Times |
---|
|
197d 1h 26m | 1 |
|
7d 23h 40m | 1 |