Commit df44b6df authored by Andrew Wright's avatar Andrew Wright Committed by andrew

default user is jive now


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@878 b35dd754-fafc-0310-a699-88a17e54d16e
parent ce45cf18
#!/bin/sh #!/bin/sh
# jive-messengerd
#
# chckconfig: 2345 20 80
# description: Used to start and stop the jive messenger XMPP server
#
# Script used to start jive messenger as daemon # Script used to start jive messenger as daemon
# The script has currently been tested on Redhat Fedora Core 3, # The script has currently been tested on Redhat Fedora Core 3,
# but should theoretically work on most UNIX like systems # but should theoretically work on most UNIX like systems
...@@ -22,9 +27,9 @@ ...@@ -22,9 +27,9 @@
# If this is not set the script will look for /opt/jive_messenger, then /usr/local/jive_messenger # If this is not set the script will look for /opt/jive_messenger, then /usr/local/jive_messenger
#export MESSENGER_HOME= #export MESSENGER_HOME=
# Set this to tell which user to run messenger daemon as # If there is a different user you would like to run this script as,
# If this is not set the script will default to the user "root" # change the following line
#export MESSENGER_USER= export MESSENGER_USER=jive
# ----------------------------------------------------------------- # -----------------------------------------------------------------
...@@ -41,10 +46,6 @@ if [ ! $MESSENGER_HOME ]; then ...@@ -41,10 +46,6 @@ if [ ! $MESSENGER_HOME ]; then
fi fi
fi fi
# If no messenger user has been specified use root
if [ ! $MESSENGER_USER ]; then
MESSENGER_USER="root"
fi
function execCommand() { function execCommand() {
OLD_PWD=`pwd` OLD_PWD=`pwd`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment