Last active
February 23, 2018 15:27
-
-
Save Dilden/ec379a64532ec5e1d36586fd35ed0101 to your computer and use it in GitHub Desktop.
Handy Storj-CLI aliases + Update script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 -' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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