Tag Archives: rsync

[init]rsync

#! /bin/bash

start() {
        /usr/bin/rsync --daemon &
}

stop() {
        kill `cat /var/run/rsyncd.pid`
}       

restart() {
        stop[......]

Read more