summaryrefslogtreecommitdiff
path: root/support-files/mysql.server.sh
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-07-30 23:01:36 +0200
committerunknown <lenz@mysql.com>2002-07-30 23:01:36 +0200
commitda35a07477a643beea0c1335fbf4fcf72ea9e333 (patch)
tree34e0b91ac2b59b968df37168cc8f096ecd230b7d /support-files/mysql.server.sh
parent95cb4cc84581e29e034a0264b7bd802de6430071 (diff)
downloadmariadb-git-da35a07477a643beea0c1335fbf4fcf72ea9e333.tar.gz
- added the init script to support the LSB init script spec
- overhauled the RPM spec file (more macros, package descriptions) support-files/mysql.server.sh: - Added LSB-compliant init script header support-files/mysql.spec.sh: - Use some more macros (_mandir and _infodir) - Updated package description - Install binaries stripped to save disk space - Rearranged file list (make sure man pages are in the same package as the binaries) - clean up the BuildRoot directory afterwards - added mysqldumpslow to the server package
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r--support-files/mysql.server.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index 62381ccf0d3..0d96cdc1bb1 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -13,6 +13,18 @@
# chkconfig: 2345 90 90
# description: A very fast and reliable SQL database engine.
+# Comments to support LSB init script conventions
+### BEGIN INIT INFO
+# Provides: mysql
+# Required-Start: $local_fs $network $remote_fs
+# Required-Stop: $local_fs $network $remote_fs
+# Default-Start: 3 5
+# Default-Stop: 3 5
+# Short-Description: start and stop MySLQ
+# Description: MySQL is a very fast and reliable SQL database engine.
+### END INIT INFO
+
+
# The following variables are only set for letting mysql.server find things.
# If you want to affect other MySQL variables, you should make your changes
# in the /etc/my.cnf or other configuration files.