dir=/var/lib/letsencrypt/tmpwww ip=1.2.3.4 name="example.com,www.example.com" email=admin.letsencrypt@example.com mkdir -p "$dir" cd "$dir" python3 -m http.server --bind $ip 80 & pid=$!