install systemd service

This commit is contained in:
Matthew Saunders Brown 2023-06-16 09:08:59 -07:00
parent 19fc7e41df
commit 31035d8a47

View File

@ -57,3 +57,11 @@ systemctl restart apache2
# install Let's Encrypt user scripts # install Let's Encrypt user scripts
cp bin/letsencrypt-* /usr/local/bin cp bin/letsencrypt-* /usr/local/bin
chmod 755 /usr/local/bin/letsencrypt-* 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