Jens-Peter C. Hillers wrote:

hello!

> I need a simple script to start and/or stop a MaxDB instance.
> 
> I like to integrate it in /etc/init.d/
> 
> so that the Database starts on boot and stops on shutdown.
> 
> I think I'am not the first to have that Problem but found nothing in the
> Documentation.
> 
> If there is somthing similar for wahttp would also be fine.

please find attached what i usually use. also handles wahttp.

        Raimund
-- 
Die Lösung zum effizienten eCRM und eMail-Marketing, mehr unter
Pinuts Universal Messenger http://www.pinuts.de/universalmessenger/

Pinuts media+science GmbH                 http://www.pinuts.de
Dipl.-Inform. Raimund Jacob               [EMAIL PROTECTED]
Krausenstr. 9-10                          voice : +49 30 59 00 90 322
10117 Berlin                              fax   : +49 30 59 00 90 390
Germany

Attachment: maxdb-init.sh
Description: application/shellscript

# -*-shell-script-*-
#
# Sample configuration
# /etc/maxdb.conf
#

#
# User running the database (sdb)
SDBUSER=sdb

#
# Independent program path (/opt/sdb/programs)
INDEPP=/opt/sdb/programs

#
# You need this for newer kernels
LD_ASSUME_KERNEL=2.4.22

#
# Set to "yes" to start the webtools (wahttp)
MAXDB_STARTWEBTOOLS=yes

#
# Instances to bring online at startup. Format:
# MAXDB_INSTANCES="DB1:dbmuser,dbmpass DB2:dbmuser,dbmpass ..."
# DBX:     database SID
# dbmuser: database manager username
# dbmpass: database manager password
#
MAXDB_INSTANCES="TST:dbm,dbm"

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to