mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update rsyncd.tpl
This commit is contained in:
@@ -17,6 +17,9 @@ ROOT_PATH={$SERVER_PATH}
|
||||
p_start(){
|
||||
echo "Starting ..."
|
||||
cd $ROOT_PATH/rsyncd/init.d
|
||||
if [ -f /var/run/rsyncd.pid ]; then
|
||||
rm -rf /var/run/rsyncd.pid
|
||||
fi
|
||||
/usr/bin/rsync --daemon
|
||||
echo "rsyncd started"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user