1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/sysutils/cbsd/files/cbsdrsyncd.in
Veniamin Gvozdikov f849b1ec93 - Update to 10.0.7
- fixes for incorrect ZFS fs name in jcoldmigrate
- jail start via taskd
- bhyve: support for VM auto start
- bhyve: add virtio RNG for FreeBSD 10.1+

PR:		192662
Submitted by:	olevole@olevole.ru (maintainer)
2014-08-16 14:39:58 +00:00

28 lines
492 B
Bash

#!/bin/sh
# PROVIDE: cbsdrsyncd
# REQUIRE: LOGIN
# KEYWORD: shutdown
# cbsdrsyncd_enable="YES"
# cbsdrsyncd_flags="<set as needed>"
#
# See rsync(1) for cbsdrsyncd_flags
#
. /etc/rc.subr
. /etc/rc.conf
name="cbsdrsyncd"
rcvar=cbsdrsyncd_enable
command="%%PREFIX%%/bin/rsync"
command_args="--daemon"
pidfile="/var/run/$name.pid"
required_files="${cbsd_workdir}/etc/rsyncd.conf"
# read configuration and set defaults
load_rc_config "$name"
: ${cbsdrsyncd_enable="NO"}
run_rc_command "$1"