Skip to content

Commit

Permalink
master file
Browse files Browse the repository at this point in the history
certbot auto renew shellsciprt for centos8 with nginx. You can use cron on this.
  • Loading branch information
LCincognito authored Feb 24, 2021
1 parent 4033e43 commit 8831fc3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions certbotautorenew4centoswithnginx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

# これはコメントです
# echo "コメントは実行されません!"

systemctl stop nginx.service
wait
certbot-auto renew
wait
systemctl start nginx.service

0 comments on commit 8831fc3

Please sign in to comment.