Commit 35ffb80c authored by Jondy Zhao's avatar Jondy Zhao

change display name of re6stnet service to support multi-nodes

parent 387b771a
...@@ -527,7 +527,7 @@ if check_re6stnet_needed ; then ...@@ -527,7 +527,7 @@ if check_re6stnet_needed ; then
slapos_request_password ${_administrator} "Install re6stnet service need the password of ${_administrator}." slapos_request_password ${_administrator} "Install re6stnet service need the password of ${_administrator}."
fi fi
cygrunsrv -I ${re6stnet_service_name} -c $(dirname ${re6stnet_configure_file}) \ cygrunsrv -I ${re6stnet_service_name} -c $(dirname ${re6stnet_configure_file}) \
-p $(which re6stnet) -a "@re6stnet.conf" -d "CYGWIN re6stnet" \ -p $(which re6stnet) -a "@re6stnet.conf" -d "CYGWIN ${re6stnet_service_name}" \
-u ${_administrator} -w ${csih_PRIVILEGED_PASSWORD} || -u ${_administrator} -w ${csih_PRIVILEGED_PASSWORD} ||
csih_error "Failed to install ${re6stnet_service_name} service." csih_error "Failed to install ${re6stnet_service_name} service."
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment