#!/bin/sh
#
# $NetBSD: supervisord.sh,v 1.2 2023/07/19 12:50:56 wiz Exp $
#
# PROVIDE: supervisord
# REQUIRE: DAEMON

. /etc/rc.subr

name="supervisord"
rcvar=${name}
command="/usr/pkg/bin/supervisord-3.14"
command_interpreter="/usr/pkg/bin/python3.14"
required_files="/usr/pkg/etc/supervisord.conf"
pidfile="/var/run/supervisord.pid"
supervisord_flags="-c /usr/pkg/etc/supervisord.conf"

load_rc_config $name
run_rc_command "$1"
