func svcSeafile: removed duplicate warnings
This commit is contained in:
parent
4d7f697426
commit
5eba4ae907
@ -209,17 +209,11 @@ function svcSeafile {
|
|||||||
# force stop seahub
|
# force stop seahub
|
||||||
if [ $pidShub ]; then
|
if [ $pidShub ]; then
|
||||||
pkill -f "seahub"
|
pkill -f "seahub"
|
||||||
echo -e "${warn}[$(stamp)] -- [WARN] Could NOT stop" \
|
|
||||||
"Seahub normally (forced stop) --${normal}" \
|
|
||||||
>> "$logFile"
|
|
||||||
exitWarn+=("[$(stamp)]_101")
|
exitWarn+=("[$(stamp)]_101")
|
||||||
fi
|
fi
|
||||||
# force stop seafile
|
# force stop seafile
|
||||||
if [ $pidSeaf ]; then
|
if [ $pidSeaf ]; then
|
||||||
pkill -f seafile-controller
|
pkill -f seafile-controller
|
||||||
echo -e "${warn}[$(stamp)] -- [WARN] Could NOT stop" \
|
|
||||||
"Seafile normally (forced stop) --${normal}" \
|
|
||||||
>> "$logFile"
|
|
||||||
exitWarn+=("[$(stamp)]_101")
|
exitWarn+=("[$(stamp)]_101")
|
||||||
fi
|
fi
|
||||||
echo -e "${info}[$(stamp)] -- [INFO] Seafile services stopped" \
|
echo -e "${info}[$(stamp)] -- [INFO] Seafile services stopped" \
|
||||||
|
Loading…
Reference in New Issue
Block a user