Changeset: 5b3f8475d7bd for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5b3f8475d7bd Modified Files: debian/monetdb5-sql.default debian/monetdb5-sql.init.d Branch: Feb2013 Log Message:
make upgrade work, remove start all db's (-a not available anymore) diffs (44 lines): diff --git a/debian/monetdb5-sql.default b/debian/monetdb5-sql.default --- a/debian/monetdb5-sql.default +++ b/debian/monetdb5-sql.default @@ -5,8 +5,5 @@ # should monetdbd be started at system startup (yes/no) STARTUP="no" -# should all databases be started (yes/no) -START_ALL_DBS="no" - # the database farm where databases are kept DBFARM=/var/lib/monetdb diff --git a/debian/monetdb5-sql.init.d b/debian/monetdb5-sql.init.d --- a/debian/monetdb5-sql.init.d +++ b/debian/monetdb5-sql.init.d @@ -71,7 +71,7 @@ case "$1" in if running; then echo "$NAME is already running" - exit 1 + exit 0 fi init @@ -83,10 +83,6 @@ case "$1" in else echo " ERROR, $NAME didn't start" fi - - if [ "$START_ALL_DBS" = "yes" ]; then - sudo -u monetdb "/usr/bin/monetdb start -a" - fi ;; stop) if running ; then @@ -94,7 +90,7 @@ case "$1" in start-stop-daemon --stop --pidfile $PIDFILE --exec $DAEMON -c monetdb:monetdb -- stop ${DBFARM} echo "$NAME." else - echo "$NAME not running (${PIDFILE}." + echo "$NAME not running." fi ;; restart) _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list