By default, the Dream apikey is specified on the command line when starting mindtouch.host.exe. This allows the apikey to be displayed in the output of the `ps` command. An alternative is to specify the apikey (or any other dream runtime setting) using a host config file.
Create the following file: /var/www/dekiwiki/bin/host-config.xml
<config> <apikey>my_super_secret_key</apikey> </config>
Then edit your /etc/init.d/dekiwiki script and change the value of $MONO_ARGS to this:
MONO_ARGS="$HOST_EXE config $BIN_DIR/host-config.xml script $SCRIPT path-prefix $PATH_PREFIX http-port $HTTP_PORT ip $IP connect-limit $CONNECT_LIMIT $NOTTY $GUID $STORAGEDIR
After restarting, you will no longer see the apikey parameter in the `ps` output.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by