@@ -10,7 +10,6 @@ rcvar=`set_rcvar`
10
10
extra_commands=" help startweb stopweb restartweb\
11
11
startstarman stopstarman restartstarman\
12
12
startnginx stopnginx restartnginx\
13
- startmysql stopmysql restartmysql\
14
13
startspectre stopspectre restartspectre\
15
14
"
16
15
help_cmd=" ${name} _help"
@@ -25,9 +24,6 @@ restartnginx_cmd="${stopnginx_cmd}; ${startnginx_cmd}"
25
24
startstarman_cmd=" ${name} _startstarman"
26
25
stopstarman_cmd=" ${name} _stopstarman"
27
26
restartstarman_cmd=" ${stopstarman_cmd} ; ${startstarman_cmd} "
28
- startmysql_cmd=" ${name} _startmysql"
29
- stopmysql_cmd=" ${name} _stopmysql"
30
- restartmysql_cmd=" ${stopmysql_cmd} ; ${startmysql_cmd} "
31
27
startspectre_cmd=" ${name} _startspectre"
32
28
stopspectre_cmd=" ${name} _stopspectre"
33
29
restartspectre_cmd=" ${stopspectre_cmd} ; ${startspectre_cmd} "
@@ -45,8 +41,6 @@ webgui_help() {
45
41
echo " -- Start/stop mod_perl (WebGUI) Apache service"
46
42
echo " $0 { startnginx | stopnginx | restartnginx }"
47
43
echo " -- Start/stop mod_proxy Apache service"
48
- echo " $0 { startmysql | stopmysql | restartmysql }"
49
- echo " -- Start/stop MySQL service"
50
44
echo " $0 { startspectre | stopspectre | restartspectre }"
51
45
echo " -- Start/stop SPECTRE"
52
46
exit 1
@@ -76,14 +70,6 @@ webgui_stopnginx() {
76
70
wreservice.pl --quiet --stop nginx
77
71
}
78
72
79
- webgui_startmysql () {
80
- wreservice.pl --quiet --start mysql
81
- }
82
-
83
- webgui_stopmysql () {
84
- wreservice.pl --quiet --stop mysql
85
- }
86
-
87
73
webgui_startspectre () {
88
74
wreservice.pl --quiet --start spectre
89
75
}
0 commit comments