1 |
%define name smeserver-letsencrypt |
%define name smeserver-letsencrypt |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 12 |
%define release 13 |
4 |
Summary: Plugin to enable letsencrypt certificates |
Summary: Plugin to enable letsencrypt certificates |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
31 |
https://letsencrypt.org/ |
https://letsencrypt.org/ |
32 |
|
|
33 |
%changelog |
%changelog |
34 |
|
* Mon Mar 09 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13.sme |
35 |
|
- remove dangling cron.daily dir missed in 0.5-12 [SME: 10862] |
36 |
|
|
37 |
* Sat Jan 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12.sme |
* Sat Jan 18 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-12.sme |
38 |
- forgot to remove template-begin and cron.daily dir [SME: 10862] |
- forgot to remove template-begin and cron.daily dir [SME: 10862] |
39 |
|
|
289 |
then mv -f /usr/local/bin/domains.txt /usr/local/bin/domains.txt.orig; |
then mv -f /usr/local/bin/domains.txt /usr/local/bin/domains.txt.orig; |
290 |
fi |
fi |
291 |
|
|
|
if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]]; |
|
|
then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; |
|
|
fi |
|
|
|
|
292 |
if [[ -d /etc/cron.daily/letsencrypt ]]; |
if [[ -d /etc/cron.daily/letsencrypt ]]; |
293 |
then rm -rf /etc/cron.daily/letsencrypt; |
then rm -rf /etc/cron.daily/letsencrypt; |
294 |
fi |
fi |
295 |
|
|
296 |
|
if [[ -d /etc/e-smith/templates/etc/cron.daily/letsencrypt ]]; |
297 |
|
then rm -rf /root/etc/e-smith/templates/etc/cron.daily/letsencrypt |
298 |
|
fi |
299 |
|
|
300 |
|
if [[ ! -e /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge ]]; |
301 |
|
then mkdir -p /home/e-smith/files/ibays/Primary/html/.well-known/acme-challenge; |
302 |
|
fi |
303 |
|
|
304 |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
chmod -R 0775 /home/e-smith/files/ibays/Primary/html/.well-known |
305 |
chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known |
chown -R apache:shared /home/e-smith/files/ibays/Primary/html/.well-known |
306 |
|
|