diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-28 23:10:06 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-06-28 23:14:59 +0100 |
commit | a15a6f8ddc78e85d1516b1f9b3991a21db0546e8 (patch) | |
tree | b52d36026e5984872822abc4cf76f06181f52b4a /infra/drs-cron-wrap | |
parent | ebe0df56422256565f85b29f78fe59d35656f94e (diff) |
Infra: Add drs-cron-wrap
Diffstat (limited to 'infra/drs-cron-wrap')
-rwxr-xr-x | infra/drs-cron-wrap | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/infra/drs-cron-wrap b/infra/drs-cron-wrap new file mode 100755 index 0000000..52e819b --- /dev/null +++ b/infra/drs-cron-wrap @@ -0,0 +1,14 @@ +#!/bin/sh +set -e +umask 002 + +distro=$1; shift + +srvdir=/srv/dgit.debian.org +dispatchdir=$srvdir/dispatch-dir +dgitlive=$srvdir/dgit-live + +distrodir=$dispatchdir/distro=$distro + +PERLLIB="$dgitlive${PERLLIB+:}${PERLLIB}" \ +exec $dgitlive/infra/dgit-repos-server $distro $distrodir '' --cron |