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