letsencrypt renew script had invalid arguments

This commit is contained in:
staticsafe 2017-01-14 14:41:07 +00:00
parent 0897a454ae
commit ef896a0f2f
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env bash
letsencrypt renew --pre-hook "systemctl stop nginx" --post-hook "systemctl start nginx"
systemctl stop nginx
letsencrypt renew
systemctl start nginx