hcoop-backup: Update log location.
[clinton/scripts.git] / hcoop-backup-wrapper
1 #!/bin/bash
2
3 exec >& /var/log/backup-to-rsync-wrapper-log
4 touch /xyz/zys # generate an error message
5
6 fs checkvol
7 LOG=/var/log/backup-to-rsync-log
8 rm -f $LOG
9 echo "groups before k5start" > $LOG
10 groups >> $LOG
11 exec k5start -f /etc/keytabs/hcoop hcoop@HCOOP.NET -t \
12 $(dirname $0)/hcoop-backup