File tree 2 files changed +9
-2
lines changed
cookbooks/arcgis-enterprise
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 665
665
if node [ 'init_package' ] == 'init'
666
666
arcgisserver_path = '/etc/init.d/arcgisserver'
667
667
service_file = 'arcgisserver.erb'
668
- template_variables = ( { :agshome => agshome } )
668
+
669
+ if node [ 'arcgis' ] [ 'version' ] . start_with? '10.4'
670
+ properties_file = 'arcgis-server-framework.properties'
671
+ else
672
+ properties_file = 'arcgis-framework.properties'
673
+ end
674
+
675
+ template_variables = ( { :agshome => agshome , :agsproperties => properties_file } )
669
676
# Systemd
670
677
else node [ 'init_package' ] == 'systemd'
671
678
arcgisserver_path = '/etc/systemd/system/arcgisserver.service'
Original file line number Diff line number Diff line change 10
10
# ## END INIT INFO
11
11
12
12
invoker=` id | cut -f 2 -d ' (' | cut -f 1 -d ' )' `
13
- agsfilecheck=framework/etc/arcgis-framework.properties
13
+ agsfilecheck=framework/etc/< %=@agsproperties% >
14
14
15
15
rwd=` dirname $0 ` /../../..
16
16
if [ -L " $0 " ]; then
You can’t perform that action at this time.
0 commit comments