Skip to content

Commit

Permalink
Move online related resources into separate folder
Browse files Browse the repository at this point in the history
  • Loading branch information
simov committed Jul 23, 2017
1 parent afa526a commit c7865fd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md → online/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# slack-command-whois
# varnalab-whois / online


# mikrotik.json
Expand Down Expand Up @@ -37,7 +37,7 @@
Set NodeJS `VERSION` and `/path/to`


# whois-varnalab.sh
# whois-online.sh

Set all `/path/to` locations

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion whois-varnalab.sh → online/whois-online.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo $json > ~/path/to/serve/location/active.json

# slack
echo $json \
| node ~/path/to/whois-slack.js ~/path/to/known.json ~/path/to/unknown.json \
| node ~/path/to/whois-online.js ~/path/to/known.json ~/path/to/unknown.json \
| tee \
>(cut -d$'\n' -f1 > ~/path/to/serve/location/whois-active.json) \
>(cut -d$'\n' -f2 > ~/path/to/serve/location/whois-online.json) \
Expand Down

0 comments on commit c7865fd

Please sign in to comment.