configurations/usr/local/bin/certbot-restart-nginx
2021-11-05 10:49:28 +01:00

5 lines
106 B
Bash

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