]> prime8.dev >> repos - p8d.git/commitdiff
Move ssl setup to a seperate file
authorDamian Myrda <monkey.damianek@gmail.com>
Tue, 14 May 2024 02:32:19 +0000 (21:32 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Tue, 14 May 2024 02:32:19 +0000 (21:32 -0500)
setup.sh
ssl.sh [new file with mode: 0755]

index e365639f799313ded655244dc0827ace62fee244..b888869d8555ff4cfbaca326f1d3a6817dc13ede 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -5,7 +5,7 @@ apt update -y && apt upgrade -y
 
 # ssl
 apt install -y certbot
-certbot certonly --standalone -d prime8.dev,mail.prime8.dev --email moncheeta@prime8.dev --agree-tos --force-renewal
+./ssl.sh
 
 # apply all updates
 reboot
diff --git a/ssl.sh b/ssl.sh
new file mode 100755 (executable)
index 0000000..74c7e76
--- /dev/null
+++ b/ssl.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+certbot certonly --standalone -d prime8.dev,mail.prime8.dev --email moncheeta@prime8.dev --agree-tos --force-renewal