Skip to content

Commit 08a83d5

Browse files
author
bengtson.lennart
committed
Removed lrs credentials from start script
1 parent 2609dfe commit 08a83d5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

start.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,10 @@ export SERVICE=${SERVICE_NAME}.${SERVICE_CLASS}@${SERVICE_VERSION}
114114

115115
[[ -z "${SERVICE_PASSPHRASE}" ]] && export SERVICE_PASSPHRASE='newPass'
116116

117-
# check mandatory variables
118-
[[ -z "${LRS_DOMAIN}" ]] && \
119-
echo "Mandatory variable LRS_DOMAIN is not set. Add -e LRS_DOMAIN=lrsDomain to your arguments." && exit 1
120-
[[ -z "${LRS_AUTH_ADMIN}" ]] && \
121-
echo "Mandatory variable LRS_AUTH is not set. Add -e LRS_AUTH_ADMIN=lrsAuthAdmin to your arguments." && exit 1
122-
123117
# configure service properties
124118
function set_in_service_config {
125119
sed -i "s?${1}[[:blank:]]*=.*?${1}=${2}?g" ${SERVICE_PROPERTY_FILE}
126120
}
127-
set_in_service_config lrsDomain ${LRS_DOMAIN}
128-
set_in_service_config lrsAuth "${LRS_AUTH_ADMIN}"
129121

130122
echo Starting las2peer node ...
131123
if [ -n "$LAS2PEER_ETH_HOST" ]; then

0 commit comments

Comments
 (0)