diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-02-25 09:09:51 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-02-25 09:09:51 +0000 |
commit | 549964a2dc66846bf7be875b511b44630432458f (patch) | |
tree | 452529bd4eccb9d202cdb0a0569f8b66678fc138 /sysutils/boxbackup-devel/files/bbackupd.sh | |
parent | 'dupfind' will find duplicate files in directory trees. (diff) |
This is a new port for BoxBackup, an on-line backup system.
PR: ports/75990
Submitted by: James O'Gorman <james (at) netinertia.co.uk>
Diffstat (limited to 'sysutils/boxbackup-devel/files/bbackupd.sh')
-rw-r--r-- | sysutils/boxbackup-devel/files/bbackupd.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sysutils/boxbackup-devel/files/bbackupd.sh b/sysutils/boxbackup-devel/files/bbackupd.sh new file mode 100644 index 000000000000..38ad3fdf2127 --- /dev/null +++ b/sysutils/boxbackup-devel/files/bbackupd.sh @@ -0,0 +1,26 @@ +#!/bin/sh +# +# +# PROVIDE: bbackupd +# REQUIRE: NETWORKING +# KEYWORD: FreeBSD shutdown + +# +# Add the following line to /etc/rc.conf to enable bbackupd: +# +#bbackupd_enable="YES" +# + +bbackupd_enable=${bbackupd_enable-"NO"} +bbackupd_flags=${bbackupd_flags-"/usr/local/etc/box/bbackupd.conf"} +bbackupd_pidfile=${bbackupd_pidfile-"/var/run/bbackupd.pid"} + +. /etc/rc.subr + +name="bbackupd" +rcvar=`set_rcvar` +command="/usr/local/bin/bbackupd" +extra_commands="reload" + +load_rc_config $name +run_rc_command "$1" |