func svcSeafile: removed duplicate warnings

This commit is contained in:
Asif Bacchus 2019-05-19 00:06:21 -06:00
parent 4d7f697426
commit 5eba4ae907

View File

@ -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" \