summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-03-20 15:45:55 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-03-20 15:45:55 +0000
commit862362867848397253e834493ab620c0a86b1001 (patch)
treed203b555071014b493b9f441d9f4f1a8bf42fe95
parent20d228826b5cb100a53abd31167ed4ba171b7860 (diff)
downloadmysql-5.5-862362867848397253e834493ab620c0a86b1001.tar.gz
smf: depends on /etc/mysql/my.cnf, mention mysqld_safe(1)
-rw-r--r--debian/smf/mysql.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/debian/smf/mysql.xml b/debian/smf/mysql.xml
index 3ad9c62..72878d3 100644
--- a/debian/smf/mysql.xml
+++ b/debian/smf/mysql.xml
@@ -8,10 +8,13 @@
<dependency name="filesystem-local" grouping="require_all" restart_on="none" type="service">
<service_fmri value="svc:/system/filesystem/local:default"/>
</dependency>
- <exec_method type="method" name="start" exec="/lib/svc/method/mysql start" timeout_seconds="60"/>
- <exec_method type="method" name="stop" exec="/lib/svc/method/mysql stop" timeout_seconds="60"/>
- <exec_method type="method" name="refresh" exec="/lib/svc/method/mysql refresh" timeout_seconds="60"/>
<instance name="default" enabled="true">
+ <dependency name="main-file" grouping="require_all" restart_on="refresh" type="path">
+ <service_fmri value="file://localhost/etc/mysql/my.cnf"/>
+ </dependency>
+ <exec_method type="method" name="start" exec="/lib/svc/method/mysql start" timeout_seconds="60"/>
+ <exec_method type="method" name="stop" exec="/lib/svc/method/mysql stop" timeout_seconds="60"/>
+ <exec_method type="method" name="refresh" exec="/lib/svc/method/mysql refresh" timeout_seconds="60"/>
</instance>
<stability value="Evolving"/>
<template>
@@ -21,6 +24,7 @@
</loctext>
</common_name>
<documentation>
+ <manpage title="mysqld_safe" section="1"/>
<manpage title="mysqld" section="8"/>
<doc_link name="mysql.com" uri="http://dev.mysql.com/doc"/>
</documentation>