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 deletion
—
download
Diffstat
Diff options
+3/-1
M documentation/administrators
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
|