openbsd-ports/security/prelude/manager/pkg
2011-06-02 13:41:36 +00:00
..
DESCR
PFRAG.shared
PLIST Sanitize some @unexec/@extraunexec calls to rm: move them up in the 2011-05-11 08:24:40 +00:00
README Add a consistent header that substitutes FULLPKGNAME for the READMEs. 2011-06-02 13:41:36 +00:00

$OpenBSD: README,v 1.2 2011/06/02 13:41:40 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

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.