mirror of
https://github.com/AskDavis/cyphernode.git
synced 2026-01-01 04:25:58 -08:00
Adjusted docs and small tweaks
This commit is contained in:
@@ -27,11 +27,11 @@ createCurlConfig() {
|
||||
|
||||
local user=$( trim $2 )
|
||||
echo "user=${user}" > ${1}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if [ ! -e ${DB_FILE} ]; then
|
||||
echo "DB not found, creating..." > /dev/stderr
|
||||
echo "DB not found, creating..." 1>&2
|
||||
cat watching.sql | sqlite3 $DB_FILE
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
read line
|
||||
echo ${line} > /dev/stderr
|
||||
echo ${line} 1>&2
|
||||
echo -ne "HTTP/1.1 200 OK\r\n"
|
||||
echo -e "Content-Type: application/json\r\nContent-Length: 0\r\n\r\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user