diff --git a/start.sh b/start.sh index 211c705c..c49ae81e 100755 --- a/start.sh +++ b/start.sh @@ -25,14 +25,4 @@ echo "(RE)STARTING 12345.sh" mkdir -p ~/.zen/tmp exec ~/.zen/Astroport.ONE/12345.sh > ~/.zen/tmp/12345.log & -PID=$! -echo $PID > ~/.zen/.pid - -echo "HTTP API : http://$myIP:1234" -sleep 2 -cat ~/.zen/tmp/12345.log -echo "API DEBUG : tail -f ~/.zen/tmp/12345.log" -################################################### - -${MY_PATH}/command.sh - +PID=$! && echo $PID > ~/.zen/.pid && wait diff --git a/tools/new_file_in_astroport.sh b/tools/new_file_in_astroport.sh index c763723b..39bd6b2c 100755 --- a/tools/new_file_in_astroport.sh +++ b/tools/new_file_in_astroport.sh @@ -315,7 +315,7 @@ then "gifanime": "'/ipfs/${ANIMH}'", "type": "'${TidType}'", "mime": "'${MIME}'", - "ipfsdur": "'${ipfsdur}'", + "dur": "'${ipfsdur}'", "cat": "'${CAT}'", "size": "'${FILE_BSIZE}'", "description": "'${DESCRIPTION}'",