From fb20552e7d71e4c6638b9bc2d2be7c9f882922f1 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Mon, 27 Mar 2006 22:04:00 +0000 Subject: [PATCH] - rename api_ssl_port to api_port; there's only one way to access the API, and it's always ssl. except when it's not, such as now, when we set it to 80 because oldapi doesn't support SSL... --- guest.init | 15 +++++++++------ plc_config.xml | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/guest.init b/guest.init index 06607bb..251a6f5 100755 --- a/guest.init +++ b/guest.init @@ -6,7 +6,7 @@ # # description: Manages all PLC services on this machine # -# $Id: guest.init,v 1.1.1.1 2006/03/27 17:36:46 mlhuang Exp $ +# $Id: guest.init,v 1.2 2006/03/27 18:50:20 mlhuang Exp $ # PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -88,7 +88,7 @@ reload () cat >/etc/planetlab/plc_api <//" \ + $ssl_conf fi done @@ -575,8 +578,8 @@ fi exec 3>&1 exec 4>&2 if [ $verbose -eq 0 ] ; then - exec 1>/dev/null - exec 2>/dev/null + exec 1>>/var/log/boot.log + exec 2>>/var/log/boot.log fi # Generate and load configuration diff --git a/plc_config.xml b/plc_config.xml index 7c85cf3..3a2ca3c 100644 --- a/plc_config.xml +++ b/plc_config.xml @@ -227,7 +227,7 @@ nodes. - + Port 80 The TCP port number through which the API -- 2.45.2