mirror of
https://github.com/PirateBox-Dev/PirateBoxScripts_Webserver.git
synced 2023-12-14 07:22:58 +01:00
23 lines
399 B
Bash
Executable file
23 lines
399 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Starts deamon for global shoutbox service
|
|
# requires piratebox.conf as first parameter
|
|
#
|
|
# Matthias Strubel - 2012
|
|
# Licenced with GPL
|
|
|
|
. $1
|
|
|
|
cd $PIRATEBOX_FOLDER
|
|
cd python_lib
|
|
|
|
export SHOUTBOX_CHATFILE=$CHATFILE
|
|
export SHOUTBOX_GEN_HTMLFILE=$GEN_CHATFILE
|
|
|
|
|
|
if [ "$GLOBAL_CHAT" = "yes" ] ; then
|
|
export SHOUTBOX_BROADCAST_DESTINATIONS="$GLOBAL_DEST"
|
|
fi
|
|
|
|
exec python discover.py
|