components/cups/patches/17-smf-start-method.patch
author Petr Cvachoucek <petr.cvachoucek@oracle.com>
Tue, 05 Jun 2012 10:38:55 -0700
changeset 853 72b657a4e294
parent 810 297dc5ace0d5
permissions -rw-r--r--
7173189 application/cups/scheduler:default start fails to maintenance, Start method died on Killed

--- init/cups.xml.in.orig	2012-06-04 00:33:19.967159134 -0700
+++ init/cups.xml.in	2012-06-04 00:34:58.000000000 -0700
@@ -71,8 +71,8 @@
         <exec_method
             type='method'
             name='start'
-            exec='@sbindir@/cupsd'
-            timeout_seconds='60' >
+            exec='/lib/svc/method/svc-cupsd'
+            timeout_seconds='300' >
             <method_context>
                 <method_credential user='root' group='@CUPS_GROUP@' />
             </method_context>
@@ -87,6 +87,8 @@
                 value='solaris.smf.manage.cups' />
         </property_group>
 
+        <property_group name='startup' type='application' />
+
         <template>
             <common_name>
                 <loctext xml:lang='C'>