dot-files/usr/local/bin/certbot-restart-nginx

6 lines
106 B
Plaintext
Raw Normal View History

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