repository

BlowfishCMS

A small content management system for OpenBSD

version 0.45.6 · ISC · 2026-12-03 · releases

19 lines · 744 bytes · download this file

#!/bin/ksh
#
# A BlowfishCMS FastCGI service. blowfishctl installs a copy as
# /etc/rc.d/blowfish_public, _admin, _contact and _comments. Flags are
# slowcgi's (-u -p -s -t) plus -w workers:  rcctl get blowfish_public flags

# The program rc.d starts for this service. Its options ("flags") are kept by
# rcctl in /etc/rc.conf.local, set by blowfishctl's services_install.
daemon="/usr/bin/perl /opt/blowfishcms/bin/blowfish-fcgi"

# rc.subr is OpenBSD's shared start/stop/check logic: it provides rc_cmd and
# uses $daemon above. rc_reload=NO because the service has no "reload" (a
# restart replaces the workers instead). rc_cmd runs start, stop, restart or
# check, as given on the command line.
. /etc/rc.d/rc.subr

rc_reload=NO

rc_cmd $1