PostgreSQL數據庫Linux系統開機啟動 |
發布時間: 2012/9/20 17:02:44 |
chmod a+x /opt/postgresql-8.4.3/contrib/start-scripts/linux cp /opt/postgresql-8.4.3/contrib/start-scripts/linux /etc/init.d/postgresql chkconfig --add postgresql vi /ect/init.d/postgresql-
su - $PGUSER -c "$DAEMON -i -D '$PGDATA' &" >>$PGLOG 2>&1加上-i參數以支持JAVA程序調取的處理 reboot
本文出自:億恩科技【www.laynepeng.cn】 |