summaryrefslogtreecommitdiff
path: root/roles/apt_repository/files/process-incoming
blob: ba99e92000675462e2e4aeb06b1b88c1890cc8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

(
# sleep for a few seconds so that dput has time to chmod the uploaded
# file.
sleep 10
echo "Processing incoming"
date
reprepro -v -b /srv/apt processincoming default
reprepro -v -b /srv/apt export
echo "Finished processing incoming"
) 2>&1 >> /srv/apt/reprepro.log