diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2014-05-25 16:03:51 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2014-05-25 16:03:51 +0400 |
commit | 3be62adb3662e69fd3317c25ae79591f37f8f05f (patch) | |
tree | d93f2c3eb078e000d3267cc96c840dbd75bd2526 | |
parent | 400aee000bc3338e4c63d2c5fe83d907efc48d8f (diff) | |
download | knot-3be62adb3662e69fd3317c25ae79591f37f8f05f.tar.gz |
SMF: added optional dependencies on svc:/system/system-log and svc:/system/filesystem/autofs
-rw-r--r-- | debian/knot.smf/manifest/network/dns/server-knot.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/knot.smf/manifest/network/dns/server-knot.xml b/debian/knot.smf/manifest/network/dns/server-knot.xml index 479f37e..fb94de1 100644 --- a/debian/knot.smf/manifest/network/dns/server-knot.xml +++ b/debian/knot.smf/manifest/network/dns/server-knot.xml @@ -11,6 +11,12 @@ <dependency name="net-physical" grouping="require_all" restart_on="restart" type="service"> <service_fmri value="svc:/network/physical"/> </dependency> + <dependency name="syslog" grouping="optional_all" restart_on="none" type="service"> + <service_fmri value="svc:/system/system-log"/> + </dependency> + <dependency name="autofs" grouping="optional_all" restart_on="none" type="service"> + <service_fmri value="svc:/system/filesystem/autofs"/> + </dependency> <exec_method type="method" name="start" exec="/lib/svc/method/dns-server-knot start %{config_file}" timeout_seconds="30"/> <exec_method type="method" name="stop" exec="/lib/svc/method/dns-server-knot stop %{config_file}" timeout_seconds="30"/> <exec_method type="method" name="refresh" exec="/lib/svc/method/dns-server-knot refresh %{config_file}" timeout_seconds="30"/> |