jabber startup
I run Red hat Linux 7.3. I am creating a startup script for jabber. I
got some info and proceeded as follows:
I created this file as /etc/init.d/jabberd
#!/bin/sh
# chkconfig: 345 15 85
# description: Startup and shutdown script for Jabber open source
server.
JABBER_DIR=/usr/local/jabber-1.4. 3 /
export JABBER_DIR
case $1 in
'start' )
su - jabber -c "$JABBER_DIR/jabberd/jabberd &"
;;
'stop' )
kill `cat $JABBER_DIR/jabber.pid`
rm $JABBER_DIR/jabber.pid
;;
*)
echo "usage: `basename $0` {start|stop}"
esac
I then created a symbolic link (S96jabberd) to it in /etc/rc3.d
However its not working as jabber is not started and no error reported
as Linux starts. Anyone please help.
|