]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
ssh key based easy upgrade method documentation
authorMikael Nordfeldth <mmn@hethane.se>
Fri, 27 Feb 2015 14:07:24 +0000 (15:07 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Fri, 27 Feb 2015 14:07:44 +0000 (15:07 +0100)
UPGRADE

diff --git a/UPGRADE b/UPGRADE
index e7b29c34dd33b58bea46514739a8038be4405cae..d2cd365e55a9deb1e4bce5ed1acd339543994d8c 100644 (file)
--- a/UPGRADE
+++ b/UPGRADE
@@ -35,6 +35,16 @@ and follow this procedure:
 
 5. Report any issues at https://bugz.foocorp.net/ (tag GNU social)
 
+If you are using ssh keys to log in to your server, you can make this
+procedure pretty painless (assuming you have automated backups already).
+Make sure you "cd" into the correct directory (in this case "htdocs")
+and use the correct login@hostname combo:
+    $ ssh social@domain.example 'cd htdocs
+            && bash scripts/stopdaemons.sh
+            && git pull
+            && time php scripts/upgrade.php
+            && bash scripts/startdaemons.sh'
+
 StatusNet 1.1.x to GNU social 1.2.x
 -----------------------------------