rsync: added daemon script and config file.
This commit is contained in:
9
rules/rsync/fs/etc/rc.d/rsyncd
Normal file
9
rules/rsync/fs/etc/rc.d/rsyncd
Normal file
@@ -0,0 +1,9 @@
|
||||
start()
|
||||
{
|
||||
/usr/bin/rsync --daemon --config=/etc/rsyncd.conf
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
killall rsync > /dev/null 2>&1
|
||||
}
|
Reference in New Issue
Block a user