File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,11 @@ ENV LANG ${DEFAULT_LOCALE}
65
65
ENV LANGUAGE ${DEFAULT_LOCALE}
66
66
ENV LC_ALL ${DEFAULT_LOCALE}
67
67
68
+ # Should a ping to be sent when running the first time the container?
69
+ # 1 : yes
70
+ # any others values : no
71
+ ENV PING_ON 1
72
+
68
73
#
69
74
# Install Silverpeas and Wildfly
70
75
#
Original file line number Diff line number Diff line change @@ -65,6 +65,11 @@ ENV LANG ${DEFAULT_LOCALE}
65
65
ENV LANGUAGE ${DEFAULT_LOCALE}
66
66
ENV LC_ALL ${DEFAULT_LOCALE}
67
67
68
+ # Should a ping to be sent when running the first time the container?
69
+ # 1 : yes
70
+ # any others values : no
71
+ ENV PING_ON 1
72
+
68
73
#
69
74
# Install Silverpeas and Wildfly
70
75
#
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ if [ -f ${SILVERPEAS_HOME}/bin/.install ]; then
90
90
if [ $? -eq 0 ]; then
91
91
rm ${SILVERPEAS_HOME} /bin/.install
92
92
migrate_jcr
93
- curl -k -i --head https://www.silverpeas.org/ping
93
+ test ${PING_ON} = 1 && curl -k -i --head https://www.silverpeas.org/ping
94
94
else
95
95
echo " Error while setting up Silverpeas"
96
96
echo
You can’t perform that action at this time.
0 commit comments