ejabberd.rc 405 B

1234567891011121314151617
  1. #!/bin/ksh
  2. daemon="${TRUEPREFIX}/sbin/ejabberdctl"
  3. daemon_flags="start"
  4. daemon_user="_ejabberd"
  5. daemon_execdir="${EJDBDIR}"
  6. . /etc/rc.d/rc.subr
  7. rc_stop() {
  8. rc_exec "${daemon} stop"
  9. }
  10. pexp="${MODERL_BASEDIR}erts-[0-9\.]+/bin/beam.smp -P [0-9]+ -- -root ${MODERL_BASEDIR_NOSLASH} -bindir ${MODERL_BASEDIR}erts-[0-9\.]+/bin -progname erl${MODERL_VERSION} -- -home ${EJDBDIR} .*"
  11. rc_reload=NO
  12. rc_cmd $1