35 lines
983 B
Plaintext
35 lines
983 B
Plaintext
$OpenBSD: README,v 1.4 2012/01/26 10:27:15 sthen Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
Using Prosody in an OpenBSD environment
|
|
|
|
1) Prosody documentation is available online at:
|
|
|
|
http://prosody.im/doc/configure
|
|
|
|
Use this information to edit:
|
|
|
|
${SYSCONFDIR}/prosody/prosody.cfg.lua
|
|
|
|
to your liking.
|
|
|
|
2) Prosody includes an rc script for starting and stopping. You can
|
|
start it by running:
|
|
|
|
# /etc/rc.d/prosody start
|
|
|
|
You can have it start automatically on boot by adding prosody to your
|
|
pkg_scripts line in /etc/rc.conf.local
|
|
|
|
3) Prosody comes with prosodyctl script for controlling the daemon. Run
|
|
it without parameters to get list of commands:
|
|
|
|
# ${TRUEPREFIX}/sbin/prosodyctl
|
|
|
|
For example, to add users you would use something like:
|
|
|
|
# ${TRUEPREFIX}/sbin/prosodyctl adduser username@domain.tld
|