Created
January 28, 2012 17:02
-
-
Save biow0lf/1695031 to your computer and use it in GitHub Desktop.
Selenium manifest file for Solaris 10 (/var/svc/manifest/local/selenium.xml)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0'?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type="manifest" name="Selenium"> | |
<service name="application/selenium" type="service" version="1"> | |
<!-- Initial state of the service is disabled --> | |
<create_default_instance enabled="false" /> | |
<!-- Only one instance of Selenium server should ever run per server --> | |
<single_instance /> | |
<dependency name="multi-user-server" type="service" grouping="require_all" restart_on="none"> | |
<service_fmri value="svc:/milestone/multi-user-server" /> | |
</dependency> | |
<method_context> | |
<method_credential user='root' group='root' /> | |
<method_environment> | |
<envvar name='DISPLAY' value=':5' /> | |
</method_environment> | |
</method_context> | |
<exec_method type="method" name="start" exec="/usr/bin/java -jar /apps/selenium/selenium-server-standalone-2.18.0.jar -firefoxProfileTemplate /apps/selenium/.mozilla" timeout_seconds="0"> | |
<method_context> | |
<method_environment> | |
<envvar name="DISPLAY" value=":5" /> | |
<envvar name="HOME" value="/apps/selenium/" /> | |
</method_environment> | |
</method_context> | |
</exec_method> | |
<exec_method type="method" name="stop" exec=":kill -TERM" timeout_seconds="30"/> | |
<!-- We are going to be kicking off a single child process so we want Wait mode--> | |
<property_group name='startd' type='framework'> | |
<propval name='duration' type='astring' value='child' /> | |
</property_group> | |
<stability value="Unstable" /> | |
<template> | |
<common_name> | |
<loctext xml:lang='C'>Selenium server</loctext> | |
</common_name> | |
<documentation> | |
<doc_link name='seleniumhq.org' uri='http://seleniumhq.org/docs/' /> | |
</documentation> | |
</template> | |
</service> | |
</service_bundle> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment