File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,20 +25,20 @@ if [ "${FASTDFS_MODE}" = "tracker" ] ;
2525 # Start the tracker
2626 /usr/local/bin/fdfs_trackerd start
2727 # Wait for the log file to be generated
28- while [ ! -f /home/dfs /logs/trackerd.log ]; do
28+ while [ ! -f /opt/fastdfs /logs/trackerd.log ]; do
2929 sleep 1
3030 done
31- tail -f /home/dfs /logs/trackerd.log
31+ tail -f /opt/fastdfs /logs/trackerd.log
3232elif [ " ${FASTDFS_MODE} " = " storage" ];
3333 then
3434 echo " start storage and nginx"
3535 # Start the storage and nginx
3636 /usr/local/bin/fdfs_storaged start && /usr/local/nginx/sbin/nginx
3737 # Wait for the log file to be generated
38- while [ ! -f /home/dfs /logs/storaged.log ]; do
38+ while [ ! -f /opt/fastdfs /logs/storaged.log ]; do
3939 sleep 1
4040 done
41- tail -f /home/dfs /logs/storaged.log
41+ tail -f /opt/fastdfs /logs/storaged.log
4242else
4343 echo ' You need to choose the "FASTDFS_MODE"'
4444fi
You can’t perform that action at this time.
0 commit comments