pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40706: rc.d/ script for pkgsrc/devel/cvsup



>Number:         40706
>Category:       pkg
>Synopsis:       rc.d/ script for pkgsrc/devel/cvsup
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 21 02:10:00 +0000 2009
>Originator:     Brian A. Seklecki
>Release:        All of them
>Organization:
Collaborative Fusion, Inc. / Spiritual Machines
>Environment:
NetBSD cauldron-nbsd-netbsd-5-i386.lab02.pitbpa0.priv.collaborativefusion.com 
5.0_RC1 NetBSD 5.0_RC1 (GENERIC) #0: Tue Feb  3 14:45:54 EST 2009  
root%cauldron-netbsd-5-i386.lab02.pitbpa0.priv.collaborativefusion.com@localhost:/home/netbsd/obj/sys/arch/i386/compile/GENERIC
 i386

>Description:
No rc.d/ example script in the cvsup package for running cvsupd(8)
>How-To-Repeat:
Setup NetBSD CVSUP Collections as part of your mirror server
>Fix:
Example script based on FreeBSD version:

#!/bin/sh
#
# $NetBSD$
#
# PROVIDE: cvsupd
# REQUIRE: DAEMON

. /etc/rc.subr

name="cvsupd"
rcvar=$name
command="/usr/pkg/sbin/${name}"
#config="/usr/pkg/etc/nagios/${name}.cfg"
#pidfile="/var/run/${name}.pid"
cvsupd_user="cvsup"

command_args="-e -C 8 -l @local0 -b /usr/pkg/etc/cvsup -s 
sup-client-scan-deltas"
# config files are actually inin -b {dir/}/base by implication
# one for each collection

load_rc_config $name
run_rc_command "$1"



Home | Main Index | Thread Index | Old Index