~ubuntu-archive/ubuntu-archive-scripts/trunk

139 by Colin Watson
Run apt-mirror-snapshot on each archive pulse.
1
#! /bin/sh
2
set -e
3
4
if [ "$1" = --debug ]; then
5
	REDIR=
6
else
7
	REDIR='>/dev/null 2>&1'
8
fi
9
10
cd "$HOME/apt-mirror"
185 by Colin Watson
Run apt-mirror-snapshot under ionice -c3.
11
eval ionice -c3 ./apt-mirror-snapshot $REDIR