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