Skip to content

Instantly share code, notes, and snippets.

@Dilden
Last active February 23, 2018 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dilden/ec379a64532ec5e1d36586fd35ed0101 to your computer and use it in GitHub Desktop.
Save Dilden/ec379a64532ec5e1d36586fd35ed0101 to your computer and use it in GitHub Desktop.
Handy Storj-CLI aliases + Update script
alias storjstart='storjshare start -c ~/.config/storjshare/configs/STORJ_NODE_ID_HERE.json'
alias storjstop='storjshare stop -i STORJ_NODE_ID_HERE'
alias storjstat='storjshare status'
# mkdir ~/storjstuff and place bash script there
alias storjupdate='cd ~/storjstuff/ && ./storjupdate.sh && cd -'
#!/usr/bin/env bash
#
#
# 2/11/18 Dylan Hildenbrand
#
# Update storjdaemon
#
# place in ~/storjstuff
storjshare killall
npm install -g storjshare-daemon
storjshare daemon
storjshare start -c ~/.config/storjshare/configs/STORJ_NODE_ID_HERE.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment