openbsd-ports/sysutils/backuppc/pkg/backuppc.rc
landry 0729a50672 Import BackupPC 3.2.1.
BackupPC is a high-performance, enterprise-grade system for backing
up Unix, WinXX, and MacOS PCs and laptops to a server's disk.
BackupPC is highly configurable and easy to install and maintain.
It is written in Perl and extracts backup data via rsync, or tar
over ssh/rsh/nfs.

With tweaks from and ok aja@
2011-09-20 11:36:55 +00:00

14 lines
255 B
Bash

#!/bin/sh
#
# $OpenBSD: backuppc.rc,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
daemon="${TRUEPREFIX}/bin/BackupPC"
daemon_flags="-d"
daemon_user="_backuppc"
. /etc/rc.d/rc.subr
pexp="/usr/bin/perl.*BackupPC${daemon_flags:+ ${daemon_flags}}"
rc_cmd $1