DB2: Unix Linux Startup Script

Version 1.0 (Current Version)
case "$1" in        start)                echo -n "Starting IBM DB2: "                su - db2admin -c db2start > /dev/null        ;;        stop) echo -n "Stopping IBM DB2: " su - db2admin -c db2stop > /dev/null ;;       reload|restart)                $0 stop                $0 start        ;;        *) echo "Usage: $0 start|stop|restart|reload" exit 1 esac exit 0
 * 1) ! /bin/sh
 * 2) chkconfig: 345 98 16
 * 3) description: IBM DB2
 * 1) description: IBM DB2
 * 1) BEGIN INIT INFO
 * 2) Provides: rc_db2
 * 3) Required-Start: $remote_fs $syslog
 * 4) Required-Stop:  $remote_fs $syslog
 * 5) Default-Start:  3 5
 * 6) Default-Stop:   0 1 2 6
 * 7) Short-Description: IBM DB2 Linux Script version 20100622.01
 * 8) Author: Sasa Brkic (http://lsoy.posterous.com)
 * 9) Copyright (C) 2010 Creative Commons
 * 10) License: GNU GPL V2 or (at your option) any later version.
 * 11) END INIT INFO

Ver também

 * DB2: Instalando o DB2 no Linux
 * DB2: Criando usuários adicionais para o DB2
 * DB2: Comandos Uteis
 * DB2: Comandos Database
 * DB2: Comandos Start e Stop


 * Mais Artigos sobre DB2
 * Mais Artigos sobre Oracle
 * Mais Artigos sobre Linux / UNIX / AIX
 * Mais Artigos sobre outras Tecnologias