|
@@ -24,6 +24,8 @@ done &&
|
24
|
24
|
|
25
|
25
|
cp "${dir}/bash/sitegen.completion" /etc/bash_completion.d/sitegen &&
|
26
|
26
|
|
|
27
|
+a2disconf letsencrypt &&
|
|
28
|
+rm /etc/apache2/conf-available/sitegen.conf &&
|
27
|
29
|
cp "${dir}/apache/sitegen.conf" /etc/apache2/conf-available/sitegen.conf &&
|
28
|
30
|
a2enconf sitegen &&
|
29
|
31
|
service apache2 reload &&
|
|
@@ -31,6 +33,6 @@ service apache2 reload &&
|
31
|
33
|
if [ ! -e /etc/cron.d/sitegen-cert-renew ]
|
32
|
34
|
then
|
33
|
35
|
rm -f /etc/cron.d/cert-renew &&
|
34
|
|
- cp "${dir}/cron/sitegen-cert-renew" /etc/cron.d/sitegen-cert-renew
|
35
|
|
-fi &&
|
36
|
|
-service cron reload
|
|
36
|
+ cp "${dir}/cron/sitegen-cert-renew" /etc/cron.d/sitegen-cert-renew &&
|
|
37
|
+ service cron reload
|
|
38
|
+fi
|