packages/net/rsync/files/rsyncd.init
luka 8202a37c93 [packages] rsync: update to 3.1.0
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-24 00:59:47 +00:00

15 lines
232 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2011-2014 OpenWrt.org
START=90
STOP=10
USE_PROCD=1
PROG=/usr/bin/rsync
start_service() {
procd_open_instance
procd_set_param command "$PROG" --daemon --no-detach
procd_close_instance
}