@@ -19,7 +19,7 @@ CDDL HEADER END
19
19
-->
20
20
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
21
21
<!--
22
- Copyright (c) 2007, 2017 , Oracle and/or its affiliates. All rights reserved.
22
+ Copyright (c) 2007, 2018 , Oracle and/or its affiliates. All rights reserved.
23
23
-->
24
24
25
25
<service_bundle type =" manifest" name =" OSOLopengrok:opengrok" >
@@ -68,14 +68,14 @@ CDDL HEADER END
68
68
<propval name =" action_authorization" type =" astring" value =" solaris.smf.manage.opengrok" />
69
69
<propval name =" value_authorization" type =" astring" value =" solaris.smf.value.opengrok" />
70
70
</property_group >
71
-
71
+
72
72
<property_group name =" opengrok" type =" application" >
73
73
<propval name =" value_authorization" type =" astring"
74
74
value =" solaris.smf.value.opengrok" />
75
75
<propval name =" action_authorization" type =" astring"
76
76
value =" solaris.smf.manage.opengrok" />
77
- </property_group >
78
-
77
+ </property_group >
78
+
79
79
<instance name =" opengrok" enabled =" false" >
80
80
<exec_method
81
81
type =" method"
@@ -90,9 +90,8 @@ CDDL HEADER END
90
90
<!-- The root direction of this opengrok
91
91
installation -->
92
92
<envvar name =" ROOT" value =" /opengrok" />
93
-
94
- <!-- How often should the source be updated (in
95
- seconds) -->
93
+
94
+ <!-- How often should the source be updated (in seconds) -->
96
95
<envvar name =" SLEEPTIME" value =" 1800" />
97
96
98
97
<!-- The Java version to use -->
@@ -105,12 +104,15 @@ CDDL HEADER END
105
104
<envvar name =" SUBVERSION" value =" /usr/bin/svn" />
106
105
<envvar name =" MERCURIAL" value =" /usr/bin/hg" />
107
106
108
- <!-- The name of the web servers that should be
107
+ <!-- The URI of the web servers that should be
109
108
notified with the information of the active
110
109
configuration to use. Specify them with
111
110
hostname:port and separate multiple hosts by space.
112
- ex: value="server1:2424 server2:2424" -->
113
- <envvar name =" WEBSERVERS" value =" localhost:2424" />
111
+ ex: value="http://server1:8080/source http://server2:8080" -->
112
+ <envvar name =" WEBSERVERS" value =" http://localhost:8080/source" />
113
+
114
+ <!-- path to sync.py configuration file -->
115
+ <envvar name =" SYNC_CONF" value =" /opengrok/etc/sync.conf" />
114
116
115
117
<!-- The email address to send an email if the
116
118
source update fails, or a fatal error occurs while
@@ -124,7 +126,7 @@ CDDL HEADER END
124
126
</method_environment >
125
127
</method_context >
126
128
</exec_method >
127
-
129
+
128
130
<exec_method
129
131
type =" method"
130
132
name =" stop"
@@ -134,7 +136,7 @@ CDDL HEADER END
134
136
</instance >
135
137
136
138
<stability value =" Unstable" />
137
-
139
+
138
140
<template >
139
141
<common_name >
140
142
<loctext xml : lang =" C" >OpenGrok indexing service</loctext >
0 commit comments