components/cups/patches/17-smf-start-method.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Thu, 16 Feb 2017 16:13:13 -0800
changeset 7685 a7ec984d7d4c
parent 853 72b657a4e294
permissions -rw-r--r--
25564905 incorrect permissions on some desktop component deliveries in /usr/lib

--- 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'>