openbsd-ports/net/prosody/pkg
ajacoutot 0691c69586 Use RCDIR instead of /etc/rc.d when refering to packages rc scripts.
discussed with espie and sthen
ok sthen@
2012-04-22 11:41:55 +00:00
..
DESCR
PFRAG.shared
PLIST fix PLIST; didn't package -> no bump 2012-01-26 16:28:48 +00:00
prosody.rc Sort, no functionnal change. 2012-01-26 10:32:06 +00:00
README Use RCDIR instead of /etc/rc.d when refering to packages rc scripts. 2012-04-22 11:41:55 +00:00

$OpenBSD: README,v 1.5 2012/04/22 11:41:55 ajacoutot 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:

   # ${RCDIR}/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