You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "\e[33mDeprecation warning: Support for python 2 will be removed in future StackStorm releases. Please ensure that all packs used are python 3 compatible. Your StackStorm installation may be upgraded from python 2 to python 3 in future platform releases. It is recommended to plan the manual migration to a python 3 native platform, e.g. Ubuntu 18.04 LTS or CentOS/RHEL 8. \e[0m\n"
93
90
fi
91
+
}
94
92
93
+
functionst2start() {
94
+
forCOMin${COMPONENTS};do
95
+
service_manager ${COM} start
96
+
done
97
+
check_python_version
95
98
}
96
99
97
100
functionst2stop() {
@@ -218,6 +221,7 @@ case ${1} in
218
221
must_be_root
219
222
validate_in_components ${2}
220
223
service_manager ${2} restart
224
+
check_python_version
221
225
;;
222
226
reopen-log-files)
223
227
must_be_root
@@ -229,6 +233,7 @@ case ${1} in
229
233
;;
230
234
reload)
231
235
register_content ${@:2}
236
+
check_python_version
232
237
exit_code=$?
233
238
getpids
234
239
# Note: We want to preserve st2-register-content "fail on failure" behavior
0 commit comments