ejabberd.rc 348 B

123456789101112131415161718
  1. #!/bin/sh
  2. #
  3. # $OpenBSD$
  4. daemon="${TRUEPREFIX}/sbin/ejabberdctl"
  5. daemon_flags="start"
  6. daemon_user="_ejabberd"
  7. . /etc/rc.d/rc.subr
  8. rc_stop() {
  9. ${rcexec} "${daemon} stop"
  10. }
  11. pexp="${MODERL_BASEDIR}erts-[0-9\.]+/bin/beam.smp -P [0-9]+ -- -root ${MODERL_BASEDIR}? -progname erl${MODERL_VERSION} -- -home /var/db/ejabberd .*"
  12. rc_reload=NO
  13. rc_cmd $1