Bug 91319

Summary: Update port: news/newscache , Added rc script
Product: Ports & Packages Reporter: Arjan Koole <arjan>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: arjan
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Arjan Koole 2006-01-04 20:50:07 UTC
	news/newscache is lacking an rc script, so I hacked this one up

Fix: 

#!/bin/sh
#
# $FreeBSD: ports/news/newscache/files/newscache.sh.sample,v 1.0 2006/01/03 08:17:07 arjan Exp $
#
# PROVIDE: newscache
# REQUIRE: DAEMON
# KEYWORD: FreeBSD
#
# Add the following line to /etc/rc.conf to enable newscache:
#
# newscache_enable="YES"
#
newscache_enable=${newscache_enable-"NO"}
newscache_flags=${newscache_flags-""}

. /etc/rc.subr

name=newscache
rcvar=`set_rcvar`

command=/usr/local/sbin/${name}
pidfile=/var/run/${name}.pid
sig_stop=-KILL

load_rc_config ${name}
run_rc_command "$1"
How-To-Repeat: 	Install the port
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-04 21:48:59 UTC
State Changed
From-To: open->closed

Committed, thanks!