From 31035d8a475783657866a8d30a828d3338fa78e0 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 16 Jun 2023 09:08:59 -0700 Subject: [PATCH] install systemd service --- install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/install.sh b/install.sh index 3815938..1b2bf16 100755 --- a/install.sh +++ b/install.sh @@ -57,3 +57,11 @@ systemctl restart apache2 # install Let's Encrypt user scripts cp bin/letsencrypt-* /usr/local/bin chmod 755 /usr/local/bin/letsencrypt-* + +# install Deploy tools used by vpanel-stack +cp sbin/letsencrypt-deploy.sh /usr/local/sbin/ +chmod 750 /usr/local/sbin/letsencrypt-deploy.sh +cp systemd/letsencrypt-* /usr/local/lib/systemd/system/ +chmod 644 /usr/local/lib/systemd/system/letsencrypt-* +systemctl daemon-reload +systemctl enable --now letsencrypt-deploy.path