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

View Raw

More Information

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

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