Betr.: [suse-domino] Re: Suse 9.0 Domino Start/Stop-Script
Juel da Costa <[email protected]> Tue, 24 Aug 2004 09:30:40 +0200
| Newsgroups | gmane.linux.suse.domino |
|---|---|
| Message-ID | <OF08C08AAE.9468B14E-ONC1256EFA.00285EF7-C1256EFA.00294267@LocalDomain> |
I use this script to start domino on Suse 8.2. Server output is logged to
/var/log/domino. Don't forget to configure logrotate for /var/log/domino
if you use this.
Regards
#!/bin/sh
DOMINO_USER="notes"
DOMINO_GROUP="notes"
DOMINO_DATA_DIR="/local/notesdata"
DOMINO_BIN_DIR="/opt/lotus/bin"
if [ `id -u` != 0 ]; then
echo "This script must be run by root only"
exit 1
fi
# See how we were called.
case $1 in
start)
echo -n "Starting domino server..."
# Version with logfile
su - ${DOMINO_USER} -c "cd ${DOMINO_DATA_DIR}; ${DOMINO_BIN_DIR}/server" \
>> /var/log/domino 2>&1 &
echo "done."
;;
stop)
echo -n "Stopping Domino server. "
su - ${DOMINO_USER} -c "cd ${DOMINO_DATA_DIR}; ${DOMINO_BIN_DIR}/server
-q"
;;
*)
echo "Usage: domino {start|stop}"
exit 1
;;
esac
exit 0
Sebastian Hilse <[email protected]>
23-08-2004 20:09
Aan
"ThOVG Köpsel, A" <[email protected]>
Cc
[email protected]
Onderwerp
[suse-domino] Re: Suse 9.0 Domino Start/Stop-Script
Hi Andreas,
You can use
su - notes -c "cd /local/notesdata; screen -d -m /opt/lotus/bin/server"
to start the Domino server in a screen session as user notes. Then root
can resume the server console with 'screen -r notes/'.
kind regards,
Sebastian Hilse
______________________________
Campus Consult
Technologiepark 11
33100 Paderborn
Tel: +49 52 51 - 67 04 64
Fax: +49 52 51 - 67 04 65
Email: [email protected]
Internet: http://www.campus-consult.de
"ThOVG Köpsel, A" <[email protected]>
"ThOVG Köpsel, A" <[email protected]>
23.08.2004 17:17
To
[email protected]
cc
Subject
[suse-domino] Suse 9.0 Domino Start/Stop-Script
Hello
I set up a new server running suse 9.0 and
installed Domino release 6.5.1, but I don't found
any way to start the Domino-Server automatically.
There is a script in redbook "Lotus Domino 6 for Linux",
but it dosn't work.
Anybody some ideas?
Andreas Köpsel
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]