improved commands

This commit is contained in:
shim_
2018-11-03 21:11:55 +01:00
parent 6250c23295
commit 8dc75bc553
2 changed files with 7 additions and 2 deletions

View File

@@ -115,6 +115,12 @@ case "$1" in
;;
maintanance)
$0 stop
if [ "$2" = "--fsck" ]; then
$LATEST/seaf-fsck.sh
fi
if [ "$2" = "--fsck-repair" ]; then
$LATEST/seaf-fsck.sh --repair
fi
$LATEST/seaf-gc.sh
$0 start
;;