From 1295369ed8897db29067d84bd38156571f9c5d59 Mon Sep 17 00:00:00 2001 From: Paul Tagliamonte Date: Mon, 15 Apr 2013 08:37:25 -0400 Subject: [PATCH] Adding in the mant thinger. --- maintainer-scripts/update.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 maintainer-scripts/update.sh diff --git a/maintainer-scripts/update.sh b/maintainer-scripts/update.sh new file mode 100755 index 0000000..3cce8d9 --- /dev/null +++ b/maintainer-scripts/update.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +function metatron { + ssh metatron.pault.ag $@ +} + +function www { + metatron -l www $@ +} + + +metatron "cd /opt/hylang/hy; git pull" +metatron "cd /srv/www/uwsgi/app/shyte; git pull; make" +www "kill-apps" +www "start-apps"