aboutsummaryrefslogtreecommitdiff
path: root/net/rsync/files/rsyncd.init
blob: d226d0f3fa99d4064f777e5fe7b531c5495a3223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
}