configurations/usr/local/bin/certbot-restart-nginx

6 lines
106 B
Text
Raw Normal View History

#!/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
nginx -tq && systemctl restart nginx