39714ddedd
- fix permissions of /var/run/prelude-manager/ in README.OpenBSD, in order to use external sensors; reported by jdixon . ok jdixon@
23 lines
930 B
Plaintext
23 lines
930 B
Plaintext
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 ${LOCALBASE}/bin/prelude-manager ]; then
|
|
/usr/bin/install -d -o _prelude -g _prelude -m 755 /var/run/prelude-manager/
|
|
echo -n ' prelude-manager'; ${LOCALBASE}/bin/prelude-manager -d > /dev/null
|
|
fi
|
|
|
|
Note: the DBMS server to use with Prelude has to be started before.
|