home » zplus/clif.git
Author zPlus <zplus@peers.community> 2023-03-21 14:46:55
Committer zPlus <zplus@peers.community> 2023-03-21 14:46:55
Commit b51c923 (patch)
Tree 02ec9a7
Parent(s)

Add shebang in Cron documentation.


commits diff: 88b76dd..b51c923
1 file changed, 3 insertions, 1 deletiondownload


Diffstat
-rw-r--r-- documentation/administrators 4

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+3/-1 M   documentation/administrators
index 7eae54e..083f8e3
old size: 6K - new size: 6K
@@ -141,7 +141,9 @@ that will generate a new privkey+cert.pem file and reload lighttpd.
141 141 $ vim /etc/cron.weekly/clif-letsencrypt
142 142 $ chmod +x /etc/cron.weekly/clif-letsencrypt
143 143
144 - # Content of "clif-letsencrypt"
144 + Content of /etc/cron.weekly/clif-letsencrypt:
145 +
146 + #!/bin/sh
145 147 certbot renew --webroot -w /var/www/html
146 148 cd /etc/letsencrypt/live/example.org
147 149 cat privkey.pem cert.pem > privkey+cert.pem