X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/17757a4f472d40dcbe3f9a4d071f3283cc17d745..feb4074d2d01eeaec7710781482b28e30417d061:/files/etc/init.d/apache2.invirt diff --git a/files/etc/init.d/apache2.invirt b/files/etc/init.d/apache2.invirt index a017dc4..34c6baa 100755 --- a/files/etc/init.d/apache2.invirt +++ b/files/etc/init.d/apache2.invirt @@ -6,6 +6,7 @@ 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 @@ -16,7 +17,7 @@ kstart_start () { 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" }