💾 Archived View for gmi.wolfmd.me › mollybrownd.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

Mollybrownd rc file for freebsd

Pretty crazy stuff

#!/bin/sh

. /etc/rc.subr

name="mollybrownd"
start_cmd="${name}_start"
stop_cmd="${name}_stop"

mollybrownd_start()
{
  /usr/bin/molly-brown -c /etc/molly.conf &
}

mollybrownd_stop()
{
  pkill molly-brown
}


load_rc_config $name
run_rc_command "$1"

Back