rsync: added daemon script and config file.

This commit is contained in:
Ricardo Martins
2014-04-28 22:22:22 +01:00
parent 178dfec636
commit dd980c2220
3 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
start()
{
/usr/bin/rsync --daemon --config=/etc/rsyncd.conf
}
stop()
{
killall rsync > /dev/null 2>&1
}