From 34ef24e42b23d094a2dc9a2ff9904569318602f8 Mon Sep 17 00:00:00 2001
From: chebrard <chebrard@localhost>
Date: Mon, 26 Jan 2009 15:54:02 +0000
Subject: [PATCH] Frontport of all fixes related to SVR4 from branch 1.2 to trunk:

---
 opends/src/svr4/OpenDS/opends-manifest.xml |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/opends/src/svr4/OpenDS/opends-manifest.xml b/opends/src/svr4/OpenDS/opends-manifest.xml
index a117b81..415c45c 100644
--- a/opends/src/svr4/OpenDS/opends-manifest.xml
+++ b/opends/src/svr4/OpenDS/opends-manifest.xml
@@ -60,7 +60,7 @@
             name='start'
             exec='/usr/opends/lib/_svc-opends.sh start'
             timeout_seconds='60'>
-                <method_context>
+                <method_context working_directory='/usr/opends'>
                     <method_credential
                    user='ldap' group='ldap'
 privileges='basic,net_privaddr,sys_resource,!proc_info,!file_link_any'
@@ -73,7 +73,7 @@
             name='stop'
             exec='/usr/opends/lib/_svc-opends.sh stop'
             timeout_seconds='60'>
-                <method_context>
+                <method_context working_directory='/usr/opends'>
                     <method_credential user='ldap' group='ldap' />
                 </method_context>
             </exec_method>
@@ -82,6 +82,13 @@
                 <propval name='ignore_error' type='astring'
                 value='core,signal' />
             </property_group>
+            <property_group name='general' type='framework'>
+            <!-- autorizations required to start stop opends -->
+                <propval name='action_authorization' type='astring'
+                    value='solaris.smf.manage.opends' />
+                <propval name='value_authorization' type='astring'
+                    value='solaris.smf.manage.opends' />
+            </property_group>
             <template>
                 <common_name>
                     <loctext xml:lang='C'>

--
Gitblit v1.10.0