Add a file I missed on the last commit, which was:
Update to 3.5.2 cvs-snap of 20050725.0800 PR: ports/84301 Submitted by: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> (maintainer) Misc. kudos: Jens Holmqvist <zparta@hispan.se> Elliot Finley <efinley@efinley.com> Alexandr Smirnov <phpclub@rambler.ru>
This commit is contained in:
parent
5715b416e0
commit
f696d5c806
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140475
41
mail/dspam-devel/files/dspam-devel.sh.in
Normal file
41
mail/dspam-devel/files/dspam-devel.sh.in
Normal file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
# formerly $ FreeBSD: ports/mail/dspam-devel/files/dspam.rc,v 1.2 2005/02/25 03:09:26 leeym Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: dspam
|
||||
# REQUIRE: LOGIN NETWORKING SERVERS %%MYSQL%% %%CLAMD%%
|
||||
# BEFORE: mail
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf[.local] to enable dspam:
|
||||
#
|
||||
# dspam_enable="YES"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=dspam
|
||||
rcvar=`set_rcvar`
|
||||
|
||||
command=%%PREFIX%%/bin/${name}
|
||||
command_args="--daemon > /dev/null 2>&1 &"
|
||||
pidfile=/var/run/${name}.pid
|
||||
required_dirs=%%DSPAM_HOME%%
|
||||
required_files=%%PREFIX%%/etc/${name}.conf
|
||||
|
||||
extra_commands=reload
|
||||
|
||||
reload()
|
||||
{
|
||||
kill -HUP `cat $pidfile`
|
||||
}
|
||||
|
||||
# set defaults
|
||||
|
||||
dspam_enable=${dspam_enable:-"NO"}
|
||||
#dspam_flags=${dspam_flags:-"--daemon &"}
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
Loading…
Reference in New Issue
Block a user