r17018 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17017‎ | r17018 | r17019 >
Date:22:18, 14 October 2006
Author:mark
Status:old
Tags:
Comment:
wikimedia-base (0.07) dapper; urgency=low

* Enable smartd disk monitoring
Modified paths:
  • /trunk/debs/wikimedia-base/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-base/debian/control (modified) (history)
  • /trunk/debs/wikimedia-base/debian/postinst (modified) (history)

Diff [purge]

Index: trunk/debs/wikimedia-base/debian/control
@@ -17,3 +17,4 @@
1818 * Finds out which Wikimedia cluster the host belongs to
1919 * Sets APT package pinning for Wikimedia packages
2020 * Sets up NTP
 21+ * Set up SMART disk monitoring
Index: trunk/debs/wikimedia-base/debian/postinst
@@ -93,6 +93,13 @@
9494 update-alternatives --install /usr/bin/editor editor /usr/bin/vim 75 \
9595 --slave /usr/share/man/man1/editor.1.gz editor.1.gz \
9696 /usr/share/man/man1/vim.1.gz
 97+
 98+ # Enable smartd
 99+ if ! [ -f /var/run/smartd.pid ] || ! kill -0 $(cat /var/run/smartd.pid)
 100+ then
 101+ sed -i -e '/^#start_smartd=yes/s/^#//' /etc/default/smartmontools
 102+ invoke-rc.d smartmontools start
 103+ fi
97104 ;;
98105
99106 abort-upgrade|abort-remove|abort-deconfigure)
Index: trunk/debs/wikimedia-base/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-base (0.07) dapper; urgency=low
 3+
 4+ * Enable smartd disk monitoring
 5+
 6+ -- Mark Bergsma <mark@wikimedia.org> Sat, 14 Oct 2006 22:15:02 +0000
 7+
28 wikimedia-base (0.06) dapper; urgency=low
39
410 * Force the default editor to be vim, regardless of whether we