[Hejes-devel] [1721] add update.sh
hejes-devel at nytud.hu
hejes-devel at nytud.hu
Tue Mar 7 17:27:47 CET 2017
Revision: 1721
Author: mittelholcz
Date: 2017-03-07 17:27:47 +0100 (Tue, 07 Mar 2017)
Log Message:
-----------
add update.sh
Modified Paths:
--------------
trunk/web2py/applications/helyesiras_webdev/Makefile
Added Paths:
-----------
trunk/web2py/applications/helyesiras_webdev/update.sh
Modified: trunk/web2py/applications/helyesiras_webdev/Makefile
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/Makefile 2017-03-03 10:27:43 UTC (rev 1720)
+++ trunk/web2py/applications/helyesiras_webdev/Makefile 2017-03-07 16:27:47 UTC (rev 1721)
@@ -2,16 +2,28 @@
doc:
epydoc ./modules -o /home/projects/helyesiras/documents/helyesiras.epydoc
+
# svn update + fix ownership, permissions
update:
svn update
- sudo chown -R www-data:www-data ./
- sudo chmod -R g+w ./
+ chown -R www-data:www-data ./
+ chmod -R g+w ./
# this works on the htp-devel server which runs with apache
restart:
- sudo /etc/init.d/apache2 restart
+ /etc/init.d/apache2 restart
+
+# # svn update + fix ownership, permissions
+# update:
+ # svn update
+ # sudo chown -R www-data:www-data ./
+ # sudo chmod -R g+w ./
+
+# # this works on the htp-devel server which runs with apache
+# restart:
+ # sudo /etc/init.d/apache2 restart
+
# use this if new exceptions were added or changed in any of the modules
restart_memcached:
echo 'flush_all' | nc -q 2 localhost 11211
Added: trunk/web2py/applications/helyesiras_webdev/update.sh
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/update.sh (rev 0)
+++ trunk/web2py/applications/helyesiras_webdev/update.sh 2017-03-07 16:27:47 UTC (rev 1721)
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+# script, amit a 'helyes' group tagjai hasznalhatnak a clara-n levo
+# htp-devel frissitesere es ujrainditasara
+
+# ne hasznaljuk az 'svn update'-et, hasznaljuk helyette a make-et
+make update ;
+# memcached ujrainditasa
+make restart_memcached ;
+# apache ujrainditasa
+make restart ;
+
More information about the Hejes-devel
mailing list