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:
@@ -24,6 +24,9 @@ p_start(){
|
||||
p_stop(){
|
||||
echo "Stopping ..."
|
||||
ps -ef | grep rsync | grep -v grep | grep -v python | awk '{print $2}' | xargs kill -9
|
||||
if [ -f /var/run/rsyncd.pid ]; then
|
||||
rm -rf /var/run/rsyncd.pid
|
||||
fi
|
||||
echo "rsyncd stopped"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user