start and stop node server
# find node process
ps aux | grep node
# kill node process
kill -9 PROCESS_ID
pm2
#Listing all running processes:
pm2 list
#start server
pm2 start app.js
#stop server
pm2 stop <app_name|id|'all'|json_conf>
working with git on local developer maschine
# go to project
cd D://
cd projekte/mailrelay/code/
# commit changes to github
git add *
git commit -m "add error logs"
git push origin master
#or do
git push https://github.com/lidox/line_tip.git master
working with git on server side
# go to project
cd /var/postfix_relay_gui/
# pull changes on server
git pull
git merge
pull and override local changes
git reset --hard origin/master
git fetch --all