Scripts to automating daily tasks http://gitea.open6hosting.com/Open6Hosting/smartos-bin
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

33 行
1.4 KiB

  1. <?xml version='1.0'?>
  2. <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
  3. <service_bundle type='manifest' name='export'>
  4. <service name='perl/fastcgi' type='service' version='0'>
  5. <create_default_instance enabled='true'/>
  6. <single_instance/>
  7. <dependency name='network' grouping='require_all' restart_on='error' type='service'>
  8. <service_fmri value='svc:/milestone/network:default'/>
  9. </dependency>
  10. <dependency name='filesystem-local' grouping='require_all' restart_on='none' type='service'>
  11. <service_fmri value='svc:/system/filesystem/local:default'/>
  12. </dependency>
  13. <exec_method name='start' type='method' exec='%{app} -l %{address}:%{port} -n %{procs} -p %{pidfile} -e -d' timeout_seconds='60'/>
  14. <exec_method name='stop' type='method' exec='kill `cat %{pidfile}`' timeout_seconds='60'/>
  15. <property_group name='application' type='application'>
  16. <propval name='app' type='astring' value='/data/www/open6hosting.com/web/o6h/script/o6h_fastcgi.pl'/>
  17. <propval name='address' type='astring' value='127.0.0.1'/>
  18. <propval name='port' type='astring' value='8986'/>
  19. <propval name='procs' type='astring' value='5'/>
  20. <propval name='pidfile' type='astring' value='/var/run/o6h_fastcgi.pid'/>
  21. </property_group>
  22. <template>
  23. <common_name>
  24. <loctext xml:lang='C'>Open6Hosting WEBAPP daemon</loctext>
  25. </common_name>
  26. </template>
  27. </service>
  28. </service_bundle>