openbsd-ports/security/prelude/manager/pkg
2010-11-16 10:11:51 +00:00
..
DESCR
PFRAG.shared
PLIST - switch to pkg-readmes 2010-11-16 10:11:51 +00:00
README - switch to pkg-readmes 2010-11-16 10:11:51 +00:00

$OpenBSD: README,v 1.1 2010/11/16 10:11:51 jasper Exp $

To start with prelude-manager, you have to create a starting profile,
e.g. "prelude-manager" by running:

# prelude-adduser add prelude-manager --uid=564 --gid=564

Then, alter prelude-manager.conf with your database settings (at least
"type", "host", "user" and "pass") according to the DBMS you selected
when installing libpreludedb; the type parameter can be either "pgsql",
"mysql" or "sqlite3".

If you are using sqlite, you need only two parameters, "type", and "file"
which indicates the location of the database file (/var/prelude/manager/
is the recommended directory to store this file).

To start prelude-manager at boot-time, you could use:

if [ -x ${TRUEPREFIX}/bin/prelude-manager ]; then
	/usr/bin/install -d -o _prelude -g _prelude -m 755 /var/run/prelude-manager/
	echo -n ' prelude-manager'; ${TRUEPREFIX}/bin/prelude-manager -d > /dev/null
fi

Note: the DBMS server to use with Prelude has to be started before.