File: mini-buildd.cron.weekly

package info (click to toggle)
mini-buildd 1.0.29
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,532 kB
  • ctags: 1,862
  • sloc: sh: 13,009; python: 7,051; makefile: 194; cpp: 70
file content (10 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

# Restarting mini-buildd will run all do due maintenance checks
# (most importantly chroot maintenance).
#
# This cronjob makes sure this is done automatically once a week
# as long as there is no better/internal solution.
if /etc/init.d/mini-buildd status >/dev/null 2>&1; then
	/etc/init.d/mini-buildd restart >/dev/null
fi