39eff20776
PR: 186653 Submitted by: Jim (Ohlste.in) Reworked by: marino MonetDB is an open source column-oriented database management system developed at the Centrum Wiskunde & Informatica (CWI) in the Netherlands. It was designed to provide high performance on complex queries against large databases, such as combining tables with hundreds of columns and multi-million rows. MonetDB has been applied in high-performance applications for data mining, online analytical processing, geographic information systems, XML Query (XQuery), text and multimedia retrieval.
34 lines
613 B
Bash
34 lines
613 B
Bash
#!/bin/sh
|
|
|
|
# $Freebsd$
|
|
|
|
# PROVIDE: monetdbd
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable MonetDB:
|
|
#
|
|
# monetdbd_enable="YES"
|
|
#
|
|
# This scripts takes one of the following commands:
|
|
#
|
|
# start stop restart status
|
|
#
|
|
|
|
. etc/rc.subr
|
|
|
|
name=monetdbd
|
|
rcvar=monetdbd_enable
|
|
|
|
command=%%PREFIX%%/bin/monetdbd
|
|
required_dirs=%%PREFIX%%/monetdb5/dbfarm
|
|
|
|
pidfile=/var/run/monetdb/merovingian.pid
|
|
|
|
start_cmd='su -l monetdb -c "exec %%PREFIX%%/bin/monetdbd start %%PREFIX%%/monetdb5/dbfarm"'
|
|
|
|
start_postcmd="%%PREFIX%%/bin/monetdb start -a"
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|