r25317 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25316‎ | r25317 | r25318 >
Date:12:59, 30 August 2007
Author:mark
Status:old
Tags:
Comment:
wikimedia-task-appserver (1.18) feisty; urgency=low

* Put the Mediawiki sync scripts in the postinst
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/postinst (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/debian/postinst
@@ -58,7 +58,18 @@
5959
6060 checkmount amane:/export/upload /mnt/upload3
6161 checkmount amane:/export/math /mnt/math
62 - echo "remember to sync this server before you start it!"
 62+
 63+ CLUSTER=$(cat /etc/wikimedia-cluster)
 64+ if [ $CLUSTER="pmtpa" ]
 65+ then
 66+ rsync -a /home/wikipedia/conf/httpd/ /usr/local/apache/conf
 67+
 68+ PATH=$PATH:/home/wikipedia/bin
 69+ sync-common
 70+ apache-start
 71+ else
 72+ echo "remember to sync this server before you start it!"
 73+ fi
6374 ;;
6475
6576 abort-upgrade|abort-remove|abort-deconfigure)
Index: trunk/debs/wikimedia-task-appserver/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-task-appserver (1.18) feisty; urgency=low
 3+
 4+ * Put the Mediawiki sync scripts in the postinst
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Thu, 30 Aug 2007 12:53:02 +0000
 7+
28 wikimedia-task-appserver (1.17) feisty; urgency=low
39
410 * log_errors=On

Status & tagging log