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

6 lines
106 B
Bash

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