Index: trunk/debs/wikimedia-base/debian/control |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | Architecture: all |
11 | 11 | Origin: Wikimedia |
12 | 12 | Pre-Depends: ntp-server, smartmontools |
13 | | -Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, gdb, ntp-simple, ssmtp | mail-transport-agent |
| 13 | +Depends: ${shlibs:Depends}, ${misc:Depends}, openssh-server, sysstat, zsh, vim, joe, traceroute, screen, gdb, ntp-simple, ssmtp | mail-transport-agent, acct |
14 | 14 | Description: Base requirements for any Wikimedia server |
15 | 15 | wikimedia-base provides the Wikimedia specific base requirements |
16 | 16 | for any Wikimedia server. Currently that involves: |
— | — | @@ -19,3 +19,4 @@ |
20 | 20 | * Sets APT package pinning for Wikimedia packages |
21 | 21 | * Sets up NTP |
22 | 22 | * Set up SMART disk monitoring |
| 23 | + * Set up process accounting |
Index: trunk/debs/wikimedia-base/debian/postinst |
— | — | @@ -104,6 +104,10 @@ |
105 | 105 | /^#alias ll=/ s/^#// |
106 | 106 | /^#alias la=/ s/^#// |
107 | 107 | ' /root/.bashrc |
| 108 | + |
| 109 | + # Enable system accounting |
| 110 | + sed -i 's/^ENABLED="false"/ENABLED="true"/g' /etc/default/sysstat |
| 111 | + invoke-rc.d sysstat start || true |
108 | 112 | |
109 | 113 | ;; |
110 | 114 | |
Index: trunk/debs/wikimedia-base/debian/changelog |
— | — | @@ -1,3 +1,9 @@ |
| 2 | +wikimedia-base (0.19) feisty; urgency=low |
| 3 | + |
| 4 | + * Depends on acct |
| 5 | + |
| 6 | + -- Fred Vassard <fred@wikimedia.org> Fri, 31 Jul 2009 16:12:00 +0000 |
| 7 | + |
2 | 8 | wikimedia-base (0.18) feisty; urgency=low |
3 | 9 | |
4 | 10 | * Decrease default TCP keepalive parameters in sysctl.conf |