update
This commit is contained in:
@@ -34,12 +34,12 @@ function Quit {
|
||||
|
||||
function StartProc {
|
||||
Print Starting rsync ...
|
||||
rm -f /var/run/rsyncd.pid
|
||||
rm -f $LOG_DIR/rsyncd.pid
|
||||
rsync --daemon \
|
||||
--no-detach \
|
||||
--port=873 \
|
||||
--log-file=$LOG_DIR/rsyncd.log \
|
||||
--dparam=pidfile=/var/run/rsyncd.pid \
|
||||
--dparam=pidfile=$LOG_DIR/rsyncd.pid \
|
||||
&>> $LOG_DIR/rsyncd.out &
|
||||
PIDS="$PIDS $!"
|
||||
Print Rsync started.
|
||||
|
Reference in New Issue
Block a user