Improved script code

This commit is contained in:
David Eleazar 2022-02-08 16:22:48 +07:00
parent 69b4852152
commit 46741f40ba
No known key found for this signature in database
GPG Key ID: 2D07ED54845E0541

View File

@ -41,9 +41,10 @@ if [ -z "$1" ]; then
fi
if [ ! -e ngrok.service ]; then
git clone --depth=1 https://github.com/elzdave/systemd-ngrok.git
git clone --depth=1 https://github.com/vincenthsu/systemd-ngrok.git
cd systemd-ngrok
fi
cp ngrok.service /lib/systemd/system/
mkdir -p /opt/ngrok
cp ngrok.yml /opt/ngrok