/etc/profile

Add this:

mkdir -p /www/$(hostname)
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/gitlab
cd /www/$(hostname)
git reset HEAD -\-hard;
git pull

ps cax | grep node
ps cax | grep phantomjs

Whenever you login, it will:
1) sync your GIT ssh keys and pull the latest code from the repository (have to manually clone it first)
2) console log current running processes

results matching ""

    No results matching ""