mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
ae105f7c1d
PR: 203120 Submitted by: ports@caomhin.org (maintainer)
30 lines
493 B
Bash
30 lines
493 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: fuglu
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# fuglu_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable fuglu.
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=fuglu
|
|
rcvar=fuglu_enable
|
|
|
|
load_rc_config $name
|
|
: ${fuglu_enable:=no}
|
|
: ${fuglu_pidfile="/var/run/${name}.pid"}
|
|
|
|
command=%%PREFIX%%/bin/${name}
|
|
pidfile=${fuglu_pidfile}
|
|
|
|
command_interpreter=%%PYTHON_CMD%%
|
|
|
|
run_rc_command "$1"
|