dinstall.variables 1.4 KB

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