Update cronicle-install.sh
fix unbound variable
This commit is contained in:
parent
a472080127
commit
d21c70bc85
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue