]> git.decadent.org.uk Git - dak.git/blob - config/debian/dinstall.variables
Adjust the mirror function to be generic
[dak.git] / config / debian / dinstall.variables
1 # -*- mode:sh -*-
2 # usually we are not using debug logs. Set to 1 if you want them.
3 DEBUG=0
4
5 # our name
6 PROGRAM="dinstall"
7
8 # where do we want mails to go? For example log entries made with error()
9 if [ "x$(hostname -s)x" != "xfranckx" ]; then
10     # Not our ftpmaster host
11     MAILTO=${MAILTO:-"root"}
12 else
13     # Yay, ftpmaster
14     MAILTO=${MAILTO:-"ftpmaster@debian.org"}
15 fi
16
17 # How many logfiles to keep
18 LOGROTATE=${LOGROTATE:-400}
19
20 # Marker for dinstall start
21 DINSTALLSTART="${lockdir}/dinstallstart"
22 # Marker for dinstall end
23 DINSTALLEND="${lockdir}/dinstallend"
24
25 # lock cron.unchecked (it immediately exits when this exists)
26 LOCK_DAILY="$lockdir/daily.lock"
27
28 # Lock cron.unchecked from doing work
29 LOCK_ACCEPTED="$lockdir/unchecked.lock"
30
31 # This file is simply used to indicate to britney whether or not
32 # the Packages file updates completed sucessfully.  It's not a lock
33 # from our point of view
34 LOCK_BRITNEY="$lockdir/britney.lock"
35
36 # If this file exists we exit immediately after the currently running
37 # function is done
38 LOCK_STOP="$lockdir/archive.stop"
39
40 # Lock buildd updates
41 LOCK_BUILDD="$lockdir/buildd.lock"
42
43 # Lock changelog updates
44 LOCK_CHANGELOG="$lockdir/changelog.lock"
45
46 # Statefile for the users
47 DINSTALLSTATE="${webdir}/dinstall.status"