I am porting some init.d scripts that were running from Linux to Solaris. I can not get the service configurations to work. Here is my current xml file.
<?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <service_bundle type='manifest' name='sandcherry:agent'> <service name='application/sandcherry/agent' type='service' version='1'> <create_default_instance enabled='true' /> <single_instance/> <dependency name='fs' grouping='require_all' restart_on='none' type='service'> <service_fmri value='svc:/usr/local/sc' /> </dependency> <exec_method type='method' name='start' exec='/usr/local/Agent start' timeout_seconds='30' /> <exec_method type='method' name='stop' exec='/usr/local/Agent stop' timeout_seconds='34' /> </service> </service_bundle> When I import I then get: offline 22:13:34 svc:/application/sandcherry/agent:default from the svcs command. I then try to enable the service and I get nothing. No processes started, no errors, not enabled. This message posted from opensolaris.org