Author: sevein
Date: Fri Jul 13 11:03:16 2012
New Revision: 11920
Log:
Add a pre-start section in the qubit-sword upstart service to bypass the cache
issue when starting
Modified:
trunk/init/qubit-sword.conf
Modified: trunk/init/qubit-sword.conf
==============================================================================
--- trunk/init/qubit-sword.conf Fri Jul 13 00:02:14 2012 (r11919)
+++ trunk/init/qubit-sword.conf Fri Jul 13 11:03:16 2012 (r11920)
@@ -23,6 +23,15 @@
respawn
respawn limit 5 10
+pre-start script
+
+ LOCATION="/var/www/ica-atom"
+
+ sudo rm -rf ${LOCATION}/cache/*
+ sudo -u www-data php ${LOCATION}/symfony cc
+
+end script
+
script
USER="www-data"
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.