mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste. 1. Primarily the "empty variable" default assignment, which is mostly ${name}_flags="", but fix a few others as well. 2. Where they are not already documented, add the existence of the _flags (or other deleted empties) option to the comments, and in some cases add comments from scratch. 3. Replace things that look like: prefix=%%PREFIX%% command=${prefix}/sbin/foo to just use %%PREFIX%%. In many cases the $prefix variable is only used once, and in some cases it is not used at all. 4. In a few cases remove ${name}_flags from command_args 5. Remove a long-stale comment about putting the port's rc.d script in /etc/rc.d (which is no longer necessary). No PORTREVISION bumps because all of these changes are noops.
This commit is contained in:
parent
e6246d1055
commit
0175383f0a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237892
@ -8,11 +8,10 @@
|
||||
# BEFORE: login
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable `ices0':
|
||||
#
|
||||
#ices0_enable="YES"
|
||||
#ices0_flags=""
|
||||
# Add the following lines to /etc/rc.conf to enable ices0:
|
||||
#
|
||||
# ices0_enable="YES"
|
||||
# ices0_flags="<set as needed>"
|
||||
|
||||
. "/etc/rc.subr"
|
||||
|
||||
@ -26,6 +25,5 @@ required_files="%%PREFIX%%/etc/ices.conf"
|
||||
# read configuration and set defaults
|
||||
load_rc_config "$name"
|
||||
: ${ices0_enable="NO"}
|
||||
: ${ices0_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable slimserver:
|
||||
#
|
||||
#slimserver_enable="YES"
|
||||
# slimserver_enable="YES"
|
||||
# slimserver_flags="<set as needed>"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
@ -73,6 +74,5 @@ slimserver_poststop()
|
||||
load_rc_config ${name}
|
||||
|
||||
slimserver_enable=${slimserver_enable:-"NO"}
|
||||
slimserver_flags=${slimserver_flags:-""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable %%PORTNAME%%:
|
||||
#
|
||||
#%%PORTNAME%%_enable="YES"
|
||||
# %%PORTNAME%%_enable="YES"
|
||||
# %%PORTNAME%%_flags="<set as needed>"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
@ -72,6 +73,5 @@ command_args="--daemon --prefsfile=${conffile} --pidfile=${pidfile}"
|
||||
load_rc_config ${name}
|
||||
|
||||
%%PORTNAME%%_enable=${%%PORTNAME%%_enable:-"NO"}
|
||||
%%PORTNAME%%_flags=${%%PORTNAME%%_flags:-""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable %%PORTNAME%%:
|
||||
#
|
||||
#%%PORTNAME%%_enable="YES"
|
||||
# %%PORTNAME%%_enable="YES"
|
||||
# %%PORTNAME%%_flags="<set as needed>"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
@ -72,6 +73,5 @@ command_args="--daemon --prefsfile=${conffile} --pidfile=${pidfile}"
|
||||
load_rc_config ${name}
|
||||
|
||||
%%PORTNAME%%_enable=${%%PORTNAME%%_enable:-"NO"}
|
||||
%%PORTNAME%%_flags=${%%PORTNAME%%_flags:-""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -8,10 +8,8 @@
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
name=ventrilo
|
||||
homedir="${prefix}/ventrilo-server"
|
||||
homedir="%%PREFIX%%/ventrilo-server"
|
||||
pidfile="${homedir}/ventrilo_srv.pid"
|
||||
ventrilo_user=${name}
|
||||
command="${homedir}/ventrilo_srv"
|
||||
|
@ -19,13 +19,11 @@ load_rc_config ${name}
|
||||
: ${lircd_enable="NO"}
|
||||
: ${lircd_device="/dev/lirc0"}
|
||||
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
procname=${prefix}/sbin/lircd
|
||||
procname=%%PREFIX%%/sbin/lircd
|
||||
pidfile=/var/run/lircd.pid
|
||||
lircd_config="${prefix}/etc/lircd.conf"
|
||||
lircd_config="%%PREFIX%%/etc/lircd.conf"
|
||||
required_files=${lircd_config}
|
||||
command="${prefix}/sbin/lircd"
|
||||
command="%%PREFIX%%/sbin/lircd"
|
||||
command_args="-d ${lircd_device} ${lircd_config}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -26,8 +26,6 @@ load_rc_config $name
|
||||
|
||||
: ${qpage_enable="NO"}
|
||||
: ${qpage_queue_interval="10"}
|
||||
: ${qpage_cfg_file=""}
|
||||
: ${qpage_flags=""}
|
||||
|
||||
stop_cmd=${name}_stop
|
||||
extra_commands="reload"
|
||||
|
@ -8,6 +8,10 @@
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable ser2net:
|
||||
# ser2net_enable="YES"
|
||||
# ser2net_flags="<set as needed>"
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="ser2net"
|
||||
@ -16,7 +20,6 @@ command="%%PREFIX%%/sbin/ser2net"
|
||||
|
||||
load_rc_config $name
|
||||
: ${ser2net_enable="NO"}
|
||||
: ${ser2net_flags=""}
|
||||
: ${ser2net_pidfile="/var/run/ser2net.pid"}
|
||||
|
||||
start_cmd="/usr/sbin/daemon -p ${ser2net_pidfile} $command $rc_flags $command_args"
|
||||
|
@ -9,13 +9,13 @@
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable tbd:
|
||||
# Add the following lines to /etc/rc.conf to enable tbd:
|
||||
#
|
||||
# tbd_enable="YES"
|
||||
# tbd_flags="<set as needed>"
|
||||
#
|
||||
|
||||
tbd_enable=${tbd_enable-"NO"}
|
||||
tbd_flags=${tbd_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -8,9 +8,10 @@
|
||||
# BEFORE: securelevel
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable `pgbouncer':
|
||||
# Add the following lines to /etc/rc.conf to enable pgbouncer:
|
||||
#
|
||||
#pgbouncer_enable="YES"
|
||||
# pgbouncer_enable="YES"
|
||||
# pgbouncer_flags="<set as needed>"
|
||||
#
|
||||
|
||||
. "%%RC_SUBR%%"
|
||||
@ -30,6 +31,5 @@ required_files="${config_file}"
|
||||
load_rc_config "$name"
|
||||
: ${pgbouncer_enable="NO"}
|
||||
: ${pgbouncer_user="%%PGBOUNCER_USER%%"}
|
||||
: ${pgbouncer_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -23,8 +23,7 @@
|
||||
#
|
||||
# For postmaster startup options, edit ${postgresql_data}/postgresql.conf
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/pg_ctl
|
||||
command=%%PREFIX%%/bin/pg_ctl
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -58,7 +57,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -11,15 +11,14 @@
|
||||
# virtuoso_enable="YES"
|
||||
# # optional
|
||||
# virtuoso_config="%%PREFIX%%/virtuoso/db/virtuoso.ini"
|
||||
# virtuoso_flags=""
|
||||
# virtuoso_flags="<set as needed>"
|
||||
#
|
||||
# This scripts takes one of the following commands:
|
||||
#
|
||||
# start stop restart reload status
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
command=${prefix}/bin/virtuoso
|
||||
command=%%PREFIX%%/bin/virtuoso
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -27,7 +26,6 @@ load_rc_config virtuoso
|
||||
|
||||
# set defaults
|
||||
virtuoso_enable=${virtuoso_enable:-"NO"}
|
||||
virtuoso_flags=${virtuoso_flags:-""}
|
||||
virtuoso_user=virtuoso
|
||||
eval virtuoso_config=${virtuoso_config:-"~${virtuoso_user}/db/virtuoso.ini"}
|
||||
virtuoso_class=${virtuoso_class:-"default"}
|
||||
|
@ -5,6 +5,10 @@
|
||||
# PROVIDE: dns_balance
|
||||
# REQUIRE: DAEMON
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable dns_balance
|
||||
# dns_balance_enable="YES"
|
||||
# dns_balance_flags="<set as needed>"
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=dns_balance
|
||||
@ -14,7 +18,6 @@ load_rc_config ${name}
|
||||
: ${dns_balance_enable="NO"}
|
||||
: ${dns_balance_logfile="/var/log/${name}.log"}
|
||||
: ${dns_balance_pidfile="/var/log/${name}.pid"}
|
||||
: ${dns_balance_flags=""}
|
||||
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
command_args="-l ${dns_balance_logfile} -p ${dns_balance_pidfile}"
|
||||
|
@ -5,27 +5,25 @@
|
||||
# PROVIDE: nsd
|
||||
# REQUIRE: DAEMON
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable nsd:
|
||||
# Add the following lines to /etc/rc.conf to enable nsd:
|
||||
#
|
||||
# nsd_enable="YES"
|
||||
#
|
||||
# nsd_flags="<set as needed>"
|
||||
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=nsd
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
required_files=%%NSDDIR%%/nsd.zones
|
||||
|
||||
command=/usr/local/sbin/${name}
|
||||
command=%%PREFIX%%/sbin/${name}
|
||||
pidfile=/var/run/${name}.pid
|
||||
|
||||
# set defaults
|
||||
|
||||
nsd_enable=${nsd_enable:-"NO"}
|
||||
nsd_flags=${nsd_flags:-""}
|
||||
|
||||
load_rc_config ${name}
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable powerdns:
|
||||
#
|
||||
#pdns_enable="YES"
|
||||
# pdns_enable="YES"
|
||||
# pdns_flags="<set as needed>"
|
||||
#
|
||||
# See pdns_server(8) for flags.
|
||||
#
|
||||
@ -26,7 +27,6 @@ command=%%PREFIX%%/sbin/pdns_server
|
||||
|
||||
pdns_enable=${pdns_enable:-"NO"}
|
||||
pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
|
||||
pdns_flags=${pdns_flags:-""}
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
|
@ -11,7 +11,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable pdns_recursor:
|
||||
#
|
||||
#pdns_recursor_enable="YES"
|
||||
# pdns_recursor_enable="YES"
|
||||
# pdns_recursor_flags="<set as needed>"
|
||||
#
|
||||
# See pdns_recursor(8) for flags.
|
||||
#
|
||||
@ -27,7 +28,6 @@ command=%%PREFIX%%/sbin/pdns_recursor
|
||||
|
||||
pdns_recursor_enable=${pdns_recursor_enable:-"NO"}
|
||||
pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"}
|
||||
pdns_recursor_flags=${pdns_recursor_flags:-""}
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable powerdns:
|
||||
#
|
||||
#pdns_enable="YES"
|
||||
# pdns_enable="YES"
|
||||
# pdns_flags="<set as needed>"
|
||||
#
|
||||
# See pdns_server(8) for flags.
|
||||
#
|
||||
@ -26,7 +27,6 @@ command=%%PREFIX%%/sbin/pdns_server
|
||||
|
||||
pdns_enable=${pdns_enable:-"NO"}
|
||||
pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
|
||||
pdns_flags=${pdns_flags:-""}
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
|
@ -6,12 +6,6 @@
|
||||
# PROVIDE: totd
|
||||
# REQUIRE: SERVERS
|
||||
# BEFORE: DAEMON
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move totd.sh to /etc/rc.d/totd
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these totd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
@ -21,16 +15,15 @@ prefix=%%PREFIX%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
totd_enable=${totd_enable:-"NO"} # Enable totd
|
||||
#totd_program="${prefix}/sbin/totd" # Location of totd
|
||||
totd_flags=${totd_flags:-""} # Flags to totd program
|
||||
# totd_flags="<set as needed>"
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="totd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/sbin/${name}"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
required_files="${prefix}/etc/${name}.conf"
|
||||
required_files="%%PREFIX%%/etc/${name}.conf"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
@ -12,6 +12,7 @@
|
||||
# "-p" options will be added automatically, you should not specify them. Please
|
||||
# see the examples and the ftpd-ssl(8) man page for more information.
|
||||
#
|
||||
# bsdftpd_ssl_flags="<set as needed>"
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -26,7 +27,6 @@ stop_postcmd="rm -f /var/run/ftpd.pid"
|
||||
# Set defaults
|
||||
|
||||
bsdftpd_ssl_enable=${bsdftpd_ssl_enable:-"NO"}
|
||||
bsdftpd_ssl_flags=${bsdftpd_ssl_flags:-""}
|
||||
|
||||
# Run the daemon
|
||||
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable frox:
|
||||
#
|
||||
#frox_enable="YES"
|
||||
# frox_enable="YES"
|
||||
# frox_flags="<set as needed>"
|
||||
#
|
||||
# See frox(8) for flags
|
||||
#
|
||||
@ -34,7 +35,6 @@ stop_postcmd()
|
||||
# set defaults
|
||||
|
||||
frox_enable=${frox_enable:-"NO"}
|
||||
frox_flags=${frox_flags:-""}
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
@ -39,8 +39,6 @@ stop_postcmd()
|
||||
|
||||
# set defaults
|
||||
ftpsesame_enable=${ftpsesame_enable:-"NO"}
|
||||
ftpsesame_interface=${ftpsesame_interface-""}
|
||||
ftpsesame_flags=${ftpsesame_flags-""}
|
||||
|
||||
load_rc_config $name
|
||||
command_args=${ftpsesame_interface:+"-i ${ftpsesame_interface}"}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/ftp/moftpd/files/Attic/moftpd.in,v 1.1 2008-12-26 04:32:41 pgollucci Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/ftp/moftpd/files/Attic/moftpd.in,v 1.2 2009-07-15 16:55:42 dougb Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: moftpd
|
||||
@ -31,7 +31,6 @@ required_files=%%PREFIX%%/etc/moftpd.conf
|
||||
load_rc_config $name
|
||||
|
||||
[ -z "$moftpd_enable" ] && moftpd_enable="NO"
|
||||
[ -z "$moftpd_flags" ] && moftpd_flags=""
|
||||
[ -z "$moftpdlimits_enable" ] && moftpdlimits_enable="NO"
|
||||
[ -z "$moftpdlimits_args" ] && moftpdlimits_args="-e -C daemon"
|
||||
|
||||
|
@ -11,7 +11,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable proftpd:
|
||||
#
|
||||
#proftpd_enable="YES"
|
||||
# proftpd_enable="YES"
|
||||
# proftpd_flags="<set as needed>"
|
||||
#
|
||||
# See proftpd(8) for flags
|
||||
#
|
||||
@ -35,7 +36,6 @@ stop_postcmd()
|
||||
# set defaults
|
||||
|
||||
proftpd_enable=${proftpd_enable:-"NO"}
|
||||
proftpd_flags=${proftpd_flags:-""}
|
||||
|
||||
extra_commands="reload"
|
||||
|
||||
|
@ -11,7 +11,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable proftpd:
|
||||
#
|
||||
#proftpd_enable="YES"
|
||||
# proftpd_enable="YES"
|
||||
# proftpd_flags="<set as needed>"
|
||||
#
|
||||
# See proftpd(8) for flags
|
||||
#
|
||||
@ -35,7 +36,6 @@ stop_postcmd()
|
||||
# set defaults
|
||||
|
||||
proftpd_enable=${proftpd_enable:-"NO"}
|
||||
proftpd_flags=${proftpd_flags:-""}
|
||||
|
||||
extra_commands="reload"
|
||||
|
||||
|
@ -27,7 +27,6 @@ rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config "$name"
|
||||
: ${vsftpd_enable:="NO"}
|
||||
: ${vsftpd_flags:=""}
|
||||
|
||||
command="%%PREFIX%%/libexec/$name"
|
||||
required_files="%%PREFIX%%/etc/$name.conf"
|
||||
|
@ -27,7 +27,6 @@ rcvar=`set_rcvar`
|
||||
|
||||
load_rc_config "$name"
|
||||
: ${vsftpd_enable:="NO"}
|
||||
: ${vsftpd_flags:=""}
|
||||
|
||||
command="%%PREFIX%%/libexec/$name"
|
||||
required_files="%%PREFIX%%/etc/$name.conf"
|
||||
|
@ -9,18 +9,18 @@
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
# Add the following lines to /etc/rc.conf to enable wzdftpd
|
||||
# wzdftpd_enable="YES"
|
||||
# wzdftpd_flags="<set as needed>"
|
||||
|
||||
wzdftpd_enable=${wzdftpd_enable:-"NO"} # Enable wzdftpd
|
||||
wzdftpd_program="${prefix}/sbin/wzdftpd" # Location of wzdftpd
|
||||
wzdftpd_flags=${wzdftpd_flags:-""} # Flags to wzdftpd
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="wzdftpd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/sbin/${name}"
|
||||
required_files="${prefix}/etc/wzd.cfg"
|
||||
command="%%PREFIX%%/sbin/${name}"
|
||||
required_files="%%PREFIX%%/etc/wzd.cfg"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
@ -12,6 +12,7 @@
|
||||
# Add the following lines to /etc/rc.conf to enable bnetd:
|
||||
#
|
||||
# bnetd_enable="YES"
|
||||
# bnetd_flags="<set as needed>"
|
||||
#
|
||||
# See bnetd(1) for flags
|
||||
#
|
||||
@ -35,6 +36,5 @@ stop_postcmd()
|
||||
load_rc_config $name
|
||||
|
||||
: ${bnetd_enable="NO"}
|
||||
: ${bnetd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -6,6 +6,10 @@
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable bitlbee:
|
||||
# bitlbee_enable="YES"
|
||||
# bitlbee_flags="<set as needed>"
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="bitlbee"
|
||||
@ -16,7 +20,6 @@ load_rc_config $name
|
||||
: ${bitlbee_enable="NO"}
|
||||
: ${bitlbee_user="%%BITLBEEUSER%%"}
|
||||
: ${bitlbee_config="%%PREFIX%%/etc/bitlbee/bitlbee.conf"}
|
||||
: ${bitlbee_flags=""}
|
||||
|
||||
required_files="${bitlbee_config}"
|
||||
command="%%PREFIX%%/sbin/bitlbee"
|
||||
|
@ -6,6 +6,10 @@
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable bitlbee:
|
||||
# bitlbee_enable="YES"
|
||||
# bitlbee_flags="<set as needed>"
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="bitlbee"
|
||||
@ -16,7 +20,6 @@ load_rc_config $name
|
||||
: ${bitlbee_enable="NO"}
|
||||
: ${bitlbee_user="%%BITLBEEUSER%%"}
|
||||
: ${bitlbee_config="%%PREFIX%%/etc/bitlbee/bitlbee.conf"}
|
||||
: ${bitlbee_flags=""}
|
||||
|
||||
required_files="${bitlbee_config}"
|
||||
command="%%PREFIX%%/sbin/bitlbee"
|
||||
|
@ -22,7 +22,6 @@ load_rc_config $name
|
||||
|
||||
: ${bopm_enable="NO"}
|
||||
: ${bopm_config="%%PREFIX%%/etc/bopm.conf"}
|
||||
: ${bopm_flags=""}
|
||||
|
||||
bopm_user="bopm"
|
||||
pidfile="%%LOGDIR%%/bopm.pid"
|
||||
|
@ -12,6 +12,7 @@
|
||||
# %%PORTNAME%%_enable="YES"
|
||||
#
|
||||
# Other rc.conf variables:
|
||||
# %%PORTNAME%%_flags="<set as needed>"
|
||||
#
|
||||
# %%PORTNAME%%_config="%%ETCDIR%%/%%PORTNAME%%.conf"
|
||||
# -- path to config file
|
||||
@ -35,7 +36,6 @@ load_rc_config ${name}
|
||||
: ${%%PORTNAME%%_enable="NO"}
|
||||
: ${%%PORTNAME%%_config="%%ETCDIR%%/%%PORTNAME%%.conf"}
|
||||
: ${%%PORTNAME%%_pidfile="%%INSPIRCD_RUN%%/%%PORTNAME%%.pid"}
|
||||
: ${%%PORTNAME%%_flags=""}
|
||||
: ${%%PORTNAME%%_user="%%INSPIRCD_USR%%"}
|
||||
: ${%%PORTNAME%%_group="%%INSPIRCD_GRP%%"}
|
||||
: ${%%PORTNAME%%_logfile="%%INSPIRCD_LOG%%"}
|
||||
|
@ -5,7 +5,7 @@ PATH=/bin:/usr/bin
|
||||
daemon=ircd
|
||||
daemon_path=/usr/local/sbin
|
||||
daemon_pid=/var/run/ircd/$daemon.pid
|
||||
daemon_flags=
|
||||
#daemon_flags=
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
|
@ -24,10 +24,9 @@ load_rc_config $name
|
||||
|
||||
: ${ngircd_enable="NO"}
|
||||
: ${ngircd_conf="%%PREFIX%%/etc/ngircd.conf"}
|
||||
: ${ngircd_flags=""}
|
||||
|
||||
required_files="${ngircd_conf}"
|
||||
command=%%PREFIX%%/sbin/ngircd
|
||||
command_args="-f ${ngircd_conf} ${ngircd_flags}"
|
||||
command_args="-f ${ngircd_conf}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -17,10 +17,9 @@ epmd_enable=${epmd_enable:-"NO"}
|
||||
name=epmd
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
procname=${prefix}/bin/epmd
|
||||
start_cmd="${prefix}/bin/epmd -daemon"
|
||||
stop_cmd="${prefix}/bin/epmd -kill >/dev/null"
|
||||
procname=%%PREFIX%%/bin/epmd
|
||||
start_cmd="%%PREFIX%%/bin/epmd -daemon"
|
||||
stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
|
||||
|
||||
load_rc_config ${name}
|
||||
run_rc_command "$1"
|
||||
|
@ -17,10 +17,9 @@ epmd_enable=${epmd_enable:-"NO"}
|
||||
name=epmd
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
procname=${prefix}/bin/epmd
|
||||
start_cmd="${prefix}/bin/epmd -daemon"
|
||||
stop_cmd="${prefix}/bin/epmd -kill >/dev/null"
|
||||
procname=%%PREFIX%%/bin/epmd
|
||||
start_cmd="%%PREFIX%%/bin/epmd -daemon"
|
||||
stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
|
||||
|
||||
load_rc_config ${name}
|
||||
run_rc_command "$1"
|
||||
|
@ -10,8 +10,6 @@
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these antivirus_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
@ -22,14 +20,14 @@ prefix=%%PREFIX%%
|
||||
antivirus_enable=${antivirus_enable:-"NO"} # Enable antivirus-milter
|
||||
antivirus_pidfile=${antivirus_pidfile:-"%%ANTIVIRUS%%/run/antivirus.pid"} # Path to pidfile
|
||||
antivirus_socket=${antivirus_socket:-"%%ANTIVIRUS%%/antivirus.sock"} # Path to socket
|
||||
antivirus_flags=${antivirus_flags:-""} # Flags to antivirus
|
||||
#antivirus_flags=${antivirus_flags:-""} # Flags to antivirus
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="antivirus"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/libexec/antivirus"
|
||||
required_files="${prefix}/etc/antivirus.conf"
|
||||
command="%%PREFIX%%/libexec/antivirus"
|
||||
required_files="%%PREFIX%%/etc/antivirus.conf"
|
||||
start_precmd="antivirus_prestart"
|
||||
stop_postcmd="antivirus_poststop"
|
||||
|
||||
@ -47,5 +45,3 @@ pidfile="${antivirus_pidfile}"
|
||||
command_args="-p local:${antivirus_socket} ${antivirus_flags}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
||||
# eof
|
||||
|
@ -57,7 +57,6 @@ load_rc_config $name
|
||||
: ${milterbatv_key=""}
|
||||
# Options other than above can be set with $milterbatv_flags.
|
||||
# see batv-milter documentation for detail.
|
||||
: ${milterbatv_flags=""}
|
||||
|
||||
if [ -n "$2" ]; then
|
||||
profile="$2"
|
||||
|
@ -11,10 +11,6 @@
|
||||
# REQUIRE: LOGIN courier_authdaemond
|
||||
# BEFORE: securelevel
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move courier.sh to /etc/rc.d/courier
|
||||
|
||||
prefix="%%PREFIX%%"
|
||||
exec_prefix="${prefix}"
|
||||
|
@ -7,12 +7,6 @@
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: mail
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move imapd.sh to /etc/rc.d/cyrus_imapd
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these cyrus_imapd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
@ -22,16 +16,16 @@ prefix=%%PREFIX%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
[ -z "$cyrus_imapd_enable" ] && cyrus_imapd_enable="NO" # Enable imapd
|
||||
#cyrus_imapd_program="${prefix}/cyrus/bin/master" # Location of imapd
|
||||
#cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd
|
||||
[ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="cyrus_imapd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/cyrus/bin/master"
|
||||
command="%%PREFIX%%/cyrus/bin/master"
|
||||
pidfile="/var/run/cyrus-master.pid"
|
||||
required_files="${prefix}/etc/cyrus.conf ${prefix}/etc/imapd.conf"
|
||||
required_files="%%PREFIX%%/etc/cyrus.conf %%PREFIX%%/etc/imapd.conf"
|
||||
stop_postcmd="cyrus_imapd_poststop"
|
||||
|
||||
cyrus_imapd_poststop() {
|
||||
|
@ -7,12 +7,6 @@
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: mail
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move imapd.sh to /etc/rc.d/cyrus_imapd
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these cyrus_imapd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
@ -22,16 +16,16 @@ prefix=%%PREFIX%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
[ -z "$cyrus_imapd_enable" ] && cyrus_imapd_enable="NO" # Enable imapd
|
||||
#cyrus_imapd_program="${prefix}/cyrus/bin/master" # Location of imapd
|
||||
#cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd
|
||||
[ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="cyrus_imapd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/cyrus/bin/master"
|
||||
command="%%PREFIX%%/cyrus/bin/master"
|
||||
pidfile="/var/run/cyrus-master.pid"
|
||||
required_files="${prefix}/etc/cyrus.conf ${prefix}/etc/imapd.conf"
|
||||
required_files="%%PREFIX%%/etc/cyrus.conf %%PREFIX%%/etc/imapd.conf"
|
||||
stop_postcmd="cyrus_imapd_poststop"
|
||||
|
||||
cyrus_imapd_poststop() {
|
||||
|
@ -7,12 +7,6 @@
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: mail
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move imapd.sh to /etc/rc.d/cyrus_imapd
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these cyrus_imapd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
@ -22,16 +16,16 @@ prefix=%%PREFIX%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
[ -z "$cyrus_imapd_enable" ] && cyrus_imapd_enable="NO" # Enable imapd
|
||||
#cyrus_imapd_program="${prefix}/cyrus/bin/master" # Location of imapd
|
||||
#cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd
|
||||
[ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="cyrus_imapd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/cyrus/bin/master"
|
||||
command="%%PREFIX%%/cyrus/bin/master"
|
||||
pidfile="/var/run/cyrus-master.pid"
|
||||
required_files="${prefix}/etc/cyrus.conf ${prefix}/etc/imapd.conf"
|
||||
required_files="%%PREFIX%%/etc/cyrus.conf %%PREFIX%%/etc/imapd.conf"
|
||||
stop_postcmd="cyrus_imapd_poststop"
|
||||
|
||||
cyrus_imapd_poststop() {
|
||||
|
@ -7,12 +7,6 @@
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: mail
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0+:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move imapd.sh to /etc/rc.d/cyrus_imapd
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these cyrus_imapd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
@ -22,16 +16,16 @@ prefix=%%PREFIX%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
[ -z "$cyrus_imapd_enable" ] && cyrus_imapd_enable="NO" # Enable imapd
|
||||
#cyrus_imapd_program="${prefix}/cyrus/bin/master" # Location of imapd
|
||||
#cyrus_imapd_program="%%PREFIX%%/cyrus/bin/master" # Location of imapd
|
||||
[ -z "$cyrus_imapd_flags" ] && cyrus_imapd_flags="-d" # Flags to imapd program
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="cyrus_imapd"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/cyrus/bin/master"
|
||||
command="%%PREFIX%%/cyrus/bin/master"
|
||||
pidfile="/var/run/cyrus-master.pid"
|
||||
required_files="${prefix}/etc/cyrus.conf ${prefix}/etc/imapd.conf"
|
||||
required_files="%%PREFIX%%/etc/cyrus.conf %%PREFIX%%/etc/imapd.conf"
|
||||
stop_postcmd="cyrus_imapd_poststop"
|
||||
|
||||
cyrus_imapd_poststop() {
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
|
||||
#
|
||||
#dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-imapd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_imapd_enable="NO"}
|
||||
: ${dbmail_imapd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
|
||||
#
|
||||
#dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-lmtpd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_lmtpd_enable="NO"}
|
||||
: ${dbmail_lmtpd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
|
||||
#
|
||||
#dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-pop3d(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_pop3d_enable="NO"}
|
||||
: ${dbmail_pop3d_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-timsieved:
|
||||
#
|
||||
#dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-timsieved(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_timsieved_enable="NO"}
|
||||
: ${dbmail_timsieved_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
|
||||
#
|
||||
#dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-imapd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_imapd_enable="NO"}
|
||||
: ${dbmail_imapd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
|
||||
#
|
||||
#dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-lmtpd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_lmtpd_enable="NO"}
|
||||
: ${dbmail_lmtpd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
|
||||
#
|
||||
#dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-pop3d(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_pop3d_enable="NO"}
|
||||
: ${dbmail_pop3d_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
|
||||
#
|
||||
#dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-imapd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_imapd_enable="NO"}
|
||||
: ${dbmail_imapd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
|
||||
#
|
||||
#dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-lmtpd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_lmtpd_enable="NO"}
|
||||
: ${dbmail_lmtpd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
|
||||
#
|
||||
#dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-pop3d(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_pop3d_enable="NO"}
|
||||
: ${dbmail_pop3d_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-timsieved:
|
||||
#
|
||||
#dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-timsieved(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_timsieved_enable="NO"}
|
||||
: ${dbmail_timsieved_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
|
||||
#
|
||||
#dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-imapd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_imapd_enable="NO"}
|
||||
: ${dbmail_imapd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
|
||||
#
|
||||
#dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-lmtpd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_lmtpd_enable="NO"}
|
||||
: ${dbmail_lmtpd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
|
||||
#
|
||||
#dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-pop3d(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_pop3d_enable="NO"}
|
||||
: ${dbmail_pop3d_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-timsieved:
|
||||
#
|
||||
#dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-timsieved(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_timsieved_enable="NO"}
|
||||
: ${dbmail_timsieved_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-imapd:
|
||||
#
|
||||
#dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_enable="YES"
|
||||
# dbmail_imapd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-imapd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_imapd_enable="NO"}
|
||||
: ${dbmail_imapd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-lmtpd:
|
||||
#
|
||||
#dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_enable="YES"
|
||||
# dbmail_lmtpd_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-lmtpd(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_lmtpd_enable="NO"}
|
||||
: ${dbmail_lmtpd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-pop3d:
|
||||
#
|
||||
#dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_enable="YES"
|
||||
# dbmail_pop3d_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-pop3d(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_pop3d_enable="NO"}
|
||||
: ${dbmail_pop3d_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -10,7 +10,8 @@
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable dbmail-timsieved:
|
||||
#
|
||||
#dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_enable="YES"
|
||||
# dbmail_timsieved_flags="<set as needed>"
|
||||
#
|
||||
# See dbmail-timsieved(8) for flags
|
||||
#
|
||||
@ -27,6 +28,5 @@ required_files=%%PREFIX%%/etc/dbmail.conf
|
||||
# read settings, set default values
|
||||
load_rc_config "$name"
|
||||
: ${dbmail_timsieved_enable="NO"}
|
||||
: ${dbmail_timsieved_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -59,7 +59,6 @@ load_rc_config $name
|
||||
: ${milterdkim_alg=""}
|
||||
# Options other than above can be set with $milterdkim_flags.
|
||||
# see dkim-milter documentation for detail.
|
||||
: ${milterdkim_flags=""}
|
||||
|
||||
if [ -n "$2" ]; then
|
||||
profile="$2"
|
||||
|
@ -22,7 +22,6 @@ command="%%PREFIX%%/sbin/rpc.dracd"
|
||||
load_rc_config $name
|
||||
|
||||
: ${dracd_enable="NO"}
|
||||
: ${dracd_flags=""}
|
||||
|
||||
required_files="%%PREFIX%%/etc/dracd.allow"
|
||||
|
||||
|
@ -69,7 +69,6 @@ load_rc_config $name
|
||||
|
||||
: ${mta_enable="NO"}
|
||||
: ${mta_type="sendmail"}
|
||||
: ${mta_flags=""}
|
||||
|
||||
case "${mta_type}" in
|
||||
|
||||
|
@ -69,7 +69,6 @@ load_rc_config $name
|
||||
|
||||
: ${mta_enable="NO"}
|
||||
: ${mta_type="sendmail"}
|
||||
: ${mta_flags=""}
|
||||
|
||||
case "${mta_type}" in
|
||||
|
||||
|
@ -8,13 +8,7 @@
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: mail
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# NOTE for FreeBSD 5.0 through 6.0:
|
||||
# If you want this script to start with the base rc scripts
|
||||
# move milterregex to /etc/rc.d/milterregex
|
||||
# Not necessary for 6.1+
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
spooldir=%%SPOOLDIR%%
|
||||
|
||||
# Define these milterregex_* variables in one of these files:
|
||||
@ -25,16 +19,15 @@ spooldir=%%SPOOLDIR%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
[ -z "$milterregex_enable" ] && milterregex_enable="NO" # Enable milter-regex
|
||||
#milterregex_program="${prefix}/libexec/milter-regex" # Location of milter-regex
|
||||
[ -z "$milterregex_flags" ] && milterregex_flags="" # Flags to milter-regex program
|
||||
# milterregex_flags="" # Flags to milter-regex program
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="milterregex"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/libexec/milter-regex"
|
||||
command="%%PREFIX%%/libexec/milter-regex"
|
||||
pidfile="${spooldir}/milter-regex.pid"
|
||||
required_files="${prefix}/etc/milter-regex.conf"
|
||||
required_files="%%PREFIX%%/etc/milter-regex.conf"
|
||||
stop_postcmd="milterregex_poststop"
|
||||
|
||||
milterregex_poststop() {
|
||||
|
@ -10,8 +10,6 @@
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these noattach_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
@ -22,14 +20,14 @@ prefix=%%PREFIX%%
|
||||
noattach_enable=${noattach_enable:-"NO"} # Enable noattach
|
||||
noattach_pidfile=${noattach_pidfile:-"/var/run/noattach.pid"} # Path to pidfile
|
||||
noattach_socket=${noattach_socket:-"/var/run/noattach"} # Path to socket
|
||||
noattach_flags=${noattach_flags:-""} # Flags to noattach
|
||||
# noattach_flags="" # Flags to noattach
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="noattach"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/libexec/${name}"
|
||||
required_files="${prefix}/etc/noattach.patterns"
|
||||
command="%%PREFIX%%/libexec/${name}"
|
||||
required_files="%%PREFIX%%/etc/noattach.patterns"
|
||||
start_precmd="noattach_prestart"
|
||||
stop_postcmd="noattach_poststop"
|
||||
reload_cmd="noattach_reload"
|
||||
@ -52,5 +50,3 @@ pidfile="${noattach_pidfile}"
|
||||
command_args="-p local:${noattach_socket} ${noattach_flags}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
||||
# eof
|
||||
|
@ -9,12 +9,12 @@
|
||||
# Add the following line to /etc/rc.conf to enable perdition.imap4
|
||||
#
|
||||
# perdition_imap4_enable="YES"
|
||||
# perdition_imap4_flags="<set as needed>"
|
||||
#
|
||||
# See perdition(8) for flags
|
||||
#
|
||||
|
||||
perdition_imap4_enable=${perdition_imap4_enable-"NO"}
|
||||
perdition_imap4_flags=${perdition_imap4_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -9,12 +9,12 @@
|
||||
# Add the following line to /etc/rc.conf to enable perdition.imap4s
|
||||
#
|
||||
# perdition_imap4s_enable="YES"
|
||||
# perdition_imap4s_flags="<set as needed>"
|
||||
#
|
||||
# See perdition(8) for flags
|
||||
#
|
||||
|
||||
perdition_imap4s_enable=${perdition_imap4s_enable-"NO"}
|
||||
perdition_imap4s_flags=${perdition_imap4s_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -9,12 +9,12 @@
|
||||
# Add the following line to /etc/rc.conf to enable perdition.imaps
|
||||
#
|
||||
# perdition_imaps_enable="YES"
|
||||
# perdition_imaps_flags="<set as needed>"
|
||||
#
|
||||
# See perdition(8) for flags
|
||||
#
|
||||
|
||||
perdition_imaps_enable=${perdition_imaps_enable-"NO"}
|
||||
perdition_imaps_flags=${perdition_imaps_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -6,15 +6,15 @@
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable perdition
|
||||
# Add the following lines to /etc/rc.conf to enable perdition
|
||||
#
|
||||
# perdition_enable="YES"
|
||||
# perdition_flags="<set as needed>"
|
||||
#
|
||||
# See perdition(8) for flags
|
||||
#
|
||||
|
||||
perdition_enable=${perdition_enable-"NO"}
|
||||
perdition_flags=${perdition_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -6,15 +6,15 @@
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable perdition.pop3
|
||||
# Add the following lines to /etc/rc.conf to enable perdition.pop3
|
||||
#
|
||||
# perdition_pop3_enable="YES"
|
||||
# perdition_pop3_flags="<set as needed>"
|
||||
#
|
||||
# See perdition(8) for flags
|
||||
#
|
||||
|
||||
perdition_pop3_enable=${perdition_pop3_enable-"NO"}
|
||||
perdition_pop3_flags=${perdition_pop3_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -6,15 +6,15 @@
|
||||
# REQUIRE: DAEMON
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable perdition.pop3s
|
||||
# Add the following lines to /etc/rc.conf to enable perdition.pop3s
|
||||
#
|
||||
# perdition_pop3s_enable="YES"
|
||||
# perdition_pop3s_flags="<set as needed>"
|
||||
#
|
||||
# See perdition(8) for flags
|
||||
#
|
||||
|
||||
perdition_pop3s_enable=${perdition_pop3s_enable-"NO"}
|
||||
perdition_pop3s_flags=${perdition_pop3s_flags-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -28,7 +28,6 @@ load_rc_config $name
|
||||
: ${postfix_enable="NO"}
|
||||
: ${postfix_pidfile="/var/spool/postfix/pid/master.pid"}
|
||||
: ${postfix_procname="%%PREFIX%%/libexec/postfix/master"}
|
||||
: ${postfix_flags=""}
|
||||
|
||||
start_cmd=${name}_start
|
||||
stop_cmd=${name}_stop
|
||||
|
@ -28,7 +28,6 @@ load_rc_config $name
|
||||
: ${postfix_enable="NO"}
|
||||
: ${postfix_pidfile="/var/spool/postfix/pid/master.pid"}
|
||||
: ${postfix_procname="%%PREFIX%%/libexec/postfix/master"}
|
||||
: ${postfix_flags=""}
|
||||
|
||||
start_cmd=${name}_start
|
||||
stop_cmd=${name}_stop
|
||||
|
@ -28,7 +28,6 @@ load_rc_config $name
|
||||
: ${postfix_enable="NO"}
|
||||
: ${postfix_pidfile="/var/spool/postfix/pid/master.pid"}
|
||||
: ${postfix_procname="%%PREFIX%%/libexec/postfix/master"}
|
||||
: ${postfix_flags=""}
|
||||
|
||||
start_cmd=${name}_start
|
||||
stop_cmd=${name}_stop
|
||||
|
@ -6,22 +6,21 @@
|
||||
# PROVIDE: apolicyd
|
||||
# REQUIRE: TWISTD
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
|
||||
# Define these apolicyd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
#
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name="apolicyd"
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command="%%LOCALBASE%%/bin/twistd"
|
||||
command="%%PREFIX%%/bin/twistd"
|
||||
pidfile="/var/run/apolicyd.pid"
|
||||
logfile="/var/log/apolicyd.log"
|
||||
|
||||
|
@ -6,15 +6,12 @@
|
||||
# PROVIDE: ppolicyd
|
||||
# REQUIRE: TWISTD
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these ppolicyd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
#
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these rblmilter_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
@ -27,7 +25,7 @@ rblmilter_flags=${rblmilter_flags:-"-l -r -d relays.ordb.org"} # Flags to rblmil
|
||||
|
||||
name="rblmilter"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/sbin/rbl-milter"
|
||||
command="%%PREFIX%%/sbin/rbl-milter"
|
||||
start_precmd="rblmilter_prestart"
|
||||
stop_postcmd="rblmilter_poststop"
|
||||
extra_commands="reload"
|
||||
|
@ -19,7 +19,6 @@
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
obspamd_enable=${obspamd_enable:-"NO"}
|
||||
obspamd_flags=${obspamd_flags:-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
obspamlogd_enable=${obspamlogd_enable:-"NO"}
|
||||
obspamlogd_flags=${obspamlogd_flags:-""}
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these spamilter_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
@ -20,15 +18,15 @@ prefix=%%PREFIX%%
|
||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||
#
|
||||
spamilter_enable=${spamilter_enable:-"NO"} # Enable spamilter-milter
|
||||
spamilter_flags=${spamilter_flags:-""} # Flags to spamilter
|
||||
# spamilter_flags="" # Flags to spamilter
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="spamilter"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/bin/spamilter"
|
||||
command="%%PREFIX%%/bin/spamilter"
|
||||
pidfile="/tmp/Spamilter.pid"
|
||||
required_files="${prefix}/etc/spamilter.rc"
|
||||
required_files="%%PREFIX%%/etc/spamilter.rc"
|
||||
start_precmd="spamilter_prestart"
|
||||
stop_postcmd="spamilter_poststop"
|
||||
|
||||
@ -42,8 +40,4 @@ spamilter_poststop() {
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
command_args="${spamilter_flags}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
||||
# eof
|
||||
|
@ -23,7 +23,7 @@ rcvar=`set_rcvar`
|
||||
load_rc_config $name
|
||||
|
||||
command="%%PREFIX%%/sbin/$name"
|
||||
command_args="${spampd_flags} --pid=${spampd_pidfile}"
|
||||
command_args="--pid=${spampd_pidfile}"
|
||||
pidfile="${spampd_pidfile}"
|
||||
sig_stop="-KILL"
|
||||
stop_cmd="stop_cmd"
|
||||
|
@ -10,8 +10,6 @@
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
# Define these vbsfilter_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
# /etc/rc.conf.local
|
||||
@ -21,13 +19,13 @@ prefix=%%PREFIX%%
|
||||
#
|
||||
vbsfilter_enable=${vbsfilter_enable:-"NO"} # Enable vbsfilter-milter
|
||||
vbsfilter_socket=${vbsfilter_socket:-"/var/run/vbsfilter"} # Path to socket
|
||||
vbsfilter_flags=${vbsfilter_flags:-""} # Flags to vbsfilter
|
||||
# vbsfilter_flags="" # Flags to vbsfilter
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="vbsfilter"
|
||||
rcvar=`set_rcvar`
|
||||
command="${prefix}/libexec/vbsfilter"
|
||||
command="%%PREFIX%%/libexec/vbsfilter"
|
||||
procname="${command}"
|
||||
start_precmd="vbsfilter_prestart"
|
||||
stop_postcmd="vbsfilter_poststop"
|
||||
@ -42,7 +40,7 @@ vbsfilter_poststop() {
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
command_args="-p local:${vbsfilter_socket} ${vbsfilter_flags}"
|
||||
command_args="-p local:${vbsfilter_socket}"
|
||||
|
||||
run_rc_command "$1"
|
||||
|
||||
|
@ -5,10 +5,10 @@
|
||||
# PROVIDE: upclient
|
||||
# REQUIRE: DAEMON
|
||||
#
|
||||
# Add the following line to /etc/rc.conf to enable upclient:
|
||||
# Add the following lines to /etc/rc.conf to enable upclient:
|
||||
#
|
||||
# upclient_enable="YES"
|
||||
#
|
||||
# upclient_flags="<set as needed>"
|
||||
|
||||
upclient_precmd ()
|
||||
{
|
||||
@ -30,7 +30,6 @@ upclient_precmd ()
|
||||
}
|
||||
|
||||
upclient_enable="${upclient_enable-NO}"
|
||||
upclient_flags=
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#
|
||||
|
||||
name=iserverd
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
@ -21,7 +20,7 @@ iserverd_enable=${iserverd_enable:-"NO"}
|
||||
iserverd_user=iserv
|
||||
|
||||
rcvar=`set_rcvar`
|
||||
command=${prefix}/bin/iserverd
|
||||
command=%%PREFIX%%/bin/iserverd
|
||||
command_args="-o"
|
||||
|
||||
pidfile="/var/run/iserverd/iserverd.pid"
|
||||
|
@ -5,8 +5,7 @@
|
||||
# PROVIDE: jabberd
|
||||
# REQUIRE: %%REQUIRE%%
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
prefix=%%PREFIX%%
|
||||
|
||||
|
||||
# Define these jabberd_* variables in one of these files:
|
||||
# /etc/rc.conf
|
||||
@ -23,7 +22,7 @@ jabberd_user=${jabberd_user-"%%JABBER_USER%%"}
|
||||
name="jabberd"
|
||||
rcvar=`set_rcvar`
|
||||
command_interpreter="%%PERL%%"
|
||||
command="${prefix}/bin/jabberd"
|
||||
command="%%PREFIX%%/bin/jabberd"
|
||||
command_args="-b"
|
||||
stop_postcmd=jabberd_post_stopcmd
|
||||
|
||||
|
@ -22,6 +22,5 @@ command=%%PREFIX%%/sbin/${name}
|
||||
load_rc_config $name
|
||||
|
||||
: ${collectd_enable="NO"}
|
||||
: ${collectd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -22,6 +22,5 @@ command=%%PREFIX%%/sbin/${name}
|
||||
load_rc_config $name
|
||||
|
||||
: ${collectd_enable="NO"}
|
||||
: ${collectd_flags=""}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -42,7 +42,6 @@ load_rc_config $name
|
||||
: ${darkstat_dir="/var/run/darkstat"}
|
||||
: ${darkstat_pidname="darkstat.pid"}
|
||||
: ${darkstat_dropuser="nobody"}
|
||||
: ${darkstat_flags=""}
|
||||
pidfile="${darkstat_dir}/${darkstat_pidname}"
|
||||
|
||||
darkstat_prestart()
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user