r62101 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62100‎ | r62101 | r62102 >
Date:00:16, 8 February 2010
Author:tstarling
Status:deferred
Tags:
Comment:
Add cron job for cleaning up /tmp
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/conffiles (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/mw-cleanup-tmp (added) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/rules (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/envvars (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/debian/mw-cleanup-tmp
@@ -0,0 +1,8 @@
 2+#!/bin/bash
 3+
 4+/usr/bin/find /tmp -mmin +60 -a \( \
 5+ -name EasyTimeline.txt.\* -o \
 6+ -name \*.png -o \
 7+ -name php\* \) \
 8+ -delete
 9+
Property changes on: trunk/debs/wikimedia-task-appserver/debian/mw-cleanup-tmp
___________________________________________________________________
Name: svn:eol-style
110 + native
Index: trunk/debs/wikimedia-task-appserver/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-task-appserver (1.41) hardy; urgency=low
 3+
 4+ * Add cron job for cleaning up /tmp
 5+
 6+ -- Tim Starling <tstarling@wikimedia.org> Mon, 08 Feb 2010 11:09:14 +1100
 7+
28 wikimedia-task-appserver (1.40) hardy; urgency=low
39
410 * Add dependency on the newly backported package php5-geoip
Index: trunk/debs/wikimedia-task-appserver/debian/conffiles
@@ -2,3 +2,4 @@
33 /etc/php5/apache2/php.ini
44 /etc/sudoers
55 /etc/apache2/envvars
 6+/etc/cron.hourly/mw-cleanup-tmp
Index: trunk/debs/wikimedia-task-appserver/debian/rules
@@ -53,6 +53,7 @@
5454 install -m 0644 php.ini $(DESTDIR)/etc/php5/apache2
5555 install -m 0644 php.ini $(DESTDIR)/usr/share/php5/php.ini-dist
5656 install -m 0400 sudoers $(DESTDIR)/etc/
 57+ install -m 0755 mw-cleanup-tmp $(DESTDIR)/etc/cron.hourly/
5758
5859 # Install sync/check scripts
5960 install -d -m 0755 $(DESTDIR)/usr/bin
Index: trunk/debs/wikimedia-task-appserver/envvars
@@ -11,3 +11,6 @@
1212
1313 # For Ubuntu 8.04+
1414 APACHE_HTTPD="$HTTPD"
 15+
 16+# Don't crash when NFS goes down
 17+cd /

Follow-up revisions

RevisionCommit summaryAuthorDate
r62106* Fixed update.sh for new server...tstarling00:36, 8 February 2010

Status & tagging log