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

Use /data/domains root dir for domains

parent 81d35c24
No related branches found
No related tags found
1 merge request!196Updated linux install script
......@@ -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