ba36dddf05
It uses librsync in order to save on the amount of space that is used by each backup. It also uses VSS (Volume Shadow Copy Service) to make snapshots when backing up Windows computers. WWW: http://burp.grke.org/ PR: 204267 Submitted by: loic-freebsd@loicp.eu
32 lines
584 B
Bash
32 lines
584 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
#
|
|
# PROVIDE: burp
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
|
# to enable this service:
|
|
#
|
|
# burp_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable burp.
|
|
# burp_config (path): Set to %%PREFIX%%/etc/burp/burp.cf
|
|
# by default.
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=burp
|
|
rcvar=burp_enable
|
|
|
|
load_rc_config $name
|
|
|
|
: ${burp_enable:="NO"}
|
|
: ${burp_config="%%PREFIX%%/etc/burp/burp-server.conf"}
|
|
|
|
command=%%PREFIX%%/sbin/${name}
|
|
pidfile=/var/run/${name}.server.pid
|
|
|
|
command_args="-c $burp_config"
|
|
|
|
run_rc_command "$1"
|