Skip to content

Commit 766ab2f

Browse files
authored
Update fastdfs.sh
1 parent df728bd commit 766ab2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fastdfs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ if [ "${FASTDFS_MODE}" = "tracker" ] ;
2323
then
2424
echo "start trackerd"
2525
/etc/init.d/fdfs_trackerd start
26+
tail -f /home/dfs/logs/trackerd.log
2627
elif [ "${FASTDFS_MODE}" = "storage" ];
2728
then
2829
echo "start storage and nginx"
2930
/etc/init.d/fdfs_storaged start && /usr/local/nginx/sbin/nginx
31+
tail -f /home/dfs/logs/storaged.log
3032
else
3133
echo 'You need to choose the "FASTDFS_MODE"'
3234
fi
3335

3436
# Keep the container running
35-
tail -f /dev/null
37+
# tail -f /dev/null

0 commit comments

Comments
 (0)