Skip to content
Snippets Groups Projects
Commit c449c364 authored by Michel Memeteau's avatar Michel Memeteau
Browse files

Use /data/domains root dir for domains

parent 9171938b
No related branches found
No related tags found
No related merge requests found
......@@ -101,16 +101,13 @@ case "$1" in
rm /system/haproxy/haproxy/certs/${2}.pem
fi
fi;;
getsize)
getsize)
# check the current size
if [ $# -ne 2 ]; then
echo "getsize requires a domainname argument."
exit 1
fi
SIZE="`du -hs ${2}`"
#SIZE=${SIZE%G*}
echo $(du -hs ${2}) |cut -d ' ' -f 1;;
echo $(du -hs /data/domains/${2}) |cut -d ' ' -f 1;;
*)
show_usage
esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment