From d21c70bc850f5fb6d4b42fcf0c38f07e96ed416d Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 10 Apr 2023 05:49:23 -0400 Subject: [PATCH] Update cronicle-install.sh fix unbound variable --- install/cronicle-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/cronicle-install.sh b/install/cronicle-install.sh index 1060a494..281a6f19 100644 --- a/install/cronicle-install.sh +++ b/install/cronicle-install.sh @@ -40,7 +40,7 @@ $STD tar zxvf <(curl -fsSL https://github.com/jhuckaby/Cronicle/archive/${LATEST $STD npm install $STD node bin/build.js dist 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 cp /opt/cronicle/bin/cronicled.init /etc/init.d/cronicled chmod 775 /etc/init.d/cronicled