openbsd-ports/sysutils/backuppc/pkg/wwbackuppc.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
291 B
Bash

#!/bin/sh
#
# $OpenBSD: wwbackuppc.rc,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
daemon="${LOCALBASE}/bin/spawn-fcgi"
daemon_flags="-u_backuppc -g_backuppc -p1028 ${TRUEPREFIX}/bin/BackupPC_Admin.fcgi"
. /etc/rc.d/rc.subr
pexp="/usr/bin/perl.*BackupPC_Admin.fcgi"
rc_reload=NO
rc_cmd $1