-
Notifications
You must be signed in to change notification settings - Fork 1
/
run-config.sh.example
57 lines (43 loc) · 1.78 KB
/
run-config.sh.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
# Configuration for the FedOne run scripts.
#
# Copy this file to run-config.sh and configure the variables there.
# Please see http://code.google.com/p/wave-protocol/wiki/Installation for
# instructions on how to configure the flags.
#
# Remove this line after configuring
echo "You must configure the run-config.sh script" ; exit 1
### Variables common to the server, clients, and agents
###
# Domain name of the wave server
WAVE_SERVER_DOMAIN_NAME=example.com
# Host name and port the wave server's client frontend listens on
WAVE_SERVER_HOSTNAME=localhost
WAVE_SERVER_PORT=9876
# Host name and port the wave server's websocket frontend listens on
WEBSOCKET_SERVER_HOSTNAME=localhost
WEBSOCKET_SERVER_PORT=9898
# The version of FedOne, extracted from the build.properties file
FEDONE_VERSION=`grep ^fedone.version= build.properties | cut -f2 -d=`
### Server-specific variables
###
# These will probably need to be changed
XMPP_SERVER_SECRET=opensesame
PRIVATE_KEY_FILENAME=${WAVE_SERVER_DOMAIN_NAME}.key
# The order of certificates is important. Place intermediate certs
# after "${WAVE_SERVER_DOMAIN_NAME}.crt". Please refer to
# http://code.google.com/p/wave-protocol/wiki/Certificates
# for more details.
CERTIFICATE_FILENAME_LIST=${WAVE_SERVER_DOMAIN_NAME}.crt
# These should be okay to leave alone
CERTIFICATE_DOMAIN_NAME=$WAVE_SERVER_DOMAIN_NAME
XMPP_SERVER_HOSTNAME=$WAVE_SERVER_DOMAIN_NAME
XMPP_SERVER_PORT=5275
XMPP_SERVER_PING=wavesandbox.com
# Set XMPP_SERVER_IP to localhost if the XMPP and FedOne servers are
# running on the same host
XMPP_SERVER_IP=$XMPP_SERVER_HOSTNAME
# Set true to disable the verification of signed deltas
WAVESERVER_DISABLE_VERIFICATION=false
# Set true to disable the verification of signers (certificates)
WAVESERVER_DISABLE_SIGNER_VERIFICATION=true