Skip to content

Instantly share code, notes, and snippets.

View iammoen's full-sized avatar
🏠
Working from home

Chris Moen iammoen

🏠
Working from home
  • Falcon Heights, MN
View GitHub Profile
@boh717
boh717 / update_ghost.sh
Last active July 27, 2020 08:58
Script to update self-hosted Ghost blog to its latest version
#!/bin/bash
KillNode() {
NODE_PID=`ps aux | grep [n]ode | awk '{print $2}'`
kill $NODE_PID 2>/dev/null
}
if [ -z $1 ]; then
echo "I need ghost version number as parameter."