Update cronicle-install.sh

fix unbound variable
pull/1343/head
tteckster 2 years ago committed by GitHub
parent a472080127
commit d21c70bc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -40,7 +40,7 @@ $STD tar zxvf <(curl -fsSL https://github.com/jhuckaby/Cronicle/archive/${LATEST
$STD npm install $STD npm install
$STD node bin/build.js dist $STD node bin/build.js dist
sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json
if [[ $SERV == "y" ]]; then $STD /opt/cronicle/bin/control.sh setup; fi $STD /opt/cronicle/bin/control.sh setup
$STD /opt/cronicle/bin/control.sh start $STD /opt/cronicle/bin/control.sh start
$STD cp /opt/cronicle/bin/cronicled.init /etc/init.d/cronicled $STD cp /opt/cronicle/bin/cronicled.init /etc/init.d/cronicled
chmod 775 /etc/init.d/cronicled chmod 775 /etc/init.d/cronicled

Loading…
Cancel
Save

Powered by BW's shoe-string budget.