svn path=/trunk/packages/sipb-xen-www/; revision=808
* Add Anders' kstart-using apache2 init script.
* Add some dependencies the svn site needs.
+ * Use host/xvm-2.mit.edu for svn site, as it's on xvm-2 now
- -- Greg Price <price@mit.edu> Mon, 28 Jul 2008 07:51:09 -0400
+ -- Greg Price <price@mit.edu> Fri, 1 Aug 2008 20:23:50 -0400
sipb-xen-www (3.5) unstable; urgency=low
SCRIPT=/etc/init.d/apache2.invirt-orig
KSTART_PIDFILE=/var/run/k5start-apache2.pid
KSTART_KEYTAB=/etc/apache2/keytab
+INSTANCE=xvm-2.mit.edu
export AFSCELL=sipb.mit.edu
chown www-data $KRB5CCNAME
/sbin/start-stop-daemon --start --pidfile "$TMP_PIDFILE" -c www-data \
--exec /usr/bin/k5start -- -b -p "$TMP_PIDFILE" \
- -f "$KSTART_KEYTAB" -K10 -u daemon -i sipb-xen.mit.edu -S afs -I sipb.mit.edu -t -b
+ -f "$KSTART_KEYTAB" -K10 -u daemon -i "$INSTANCE" -S afs -I sipb.mit.edu -t -b
cat "$TMP_PIDFILE" >|"$KSTART_PIDFILE"
rm -f "$TMP_PIDFILE"
}