Guest User

Smartos service systemprep.xml

a guest
Sep 30th, 2022
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. https://web.archive.org/web/20211011195733mp_/https://timboudreau.com/files/systemprep.xml
  2.  
  3. <service_bundle type="manifest" name="export">
  4. <service name="smartos/setup" type="service" version="0">
  5. <create_default_instance enabled="true"/>
  6. <single_instance/>
  7. <dependency name="net-physical" grouping="require_all" restart_on="none" type="service">
  8. <service_fmri value="svc:/network/physical"/>
  9. </dependency>
  10. <dependency name="filesystem" grouping="require_all" restart_on="none" type="service">
  11. <service_fmri value="svc:/system/filesystem/local"/>
  12. </dependency>
  13. <exec_method name="start" type="method" exec="/opt/custom/share/svc/smartos_setup.sh %m" timeout_seconds="0"/>
  14. <exec_method name="stop" type="method" exec="/opt/custom/share/svc/smartos_setup.sh %m" timeout_seconds="60"/>
  15. <property_group name="startd" type="framework">
  16. <propval name="duration" type="astring" value="transient"/>
  17. </property_group>
  18. <stability value="Unstable"/>
  19. <template>
  20. <common_name>
  21. <loctext xml:lang="C">SmartOS Ad Hoc Setup Script</loctext>
  22. </common_name>
  23. </template>
  24. </service>
  25. </service_bundle>
Advertisement
Add Comment
Please, Sign In to add comment