mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2024-11-26 15:32:16 +00:00
Update the download link for Ngrok v3
This commit is contained in:
parent
e4c01148bd
commit
71a52012ce
|
@ -15,6 +15,9 @@ else
|
||||||
ARCH=arm
|
ARCH=arm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ARCHIVE=ngrok-v3-stable-linux-$ARCH.zip
|
||||||
|
DOWNLOAD_URL=https://bin.equinox.io/c/bNyj1mQVY4c/$ARCHIVE
|
||||||
|
|
||||||
if [ ! $(which wget) ]; then
|
if [ ! $(which wget) ]; then
|
||||||
echo 'Please install wget package'
|
echo 'Please install wget package'
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -52,9 +55,9 @@ sed -i "s/<add_your_token_here>/$1/g" /opt/ngrok/ngrok.yml
|
||||||
|
|
||||||
cd /opt/ngrok
|
cd /opt/ngrok
|
||||||
echo "Downloading ngrok for $ARCH . . ."
|
echo "Downloading ngrok for $ARCH . . ."
|
||||||
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-$ARCH.zip
|
wget $DOWNLOAD_URL
|
||||||
unzip ngrok-stable-linux-$ARCH.zip
|
unzip $ARCHIVE
|
||||||
rm ngrok-stable-linux-$ARCH.zip
|
rm $ARCHIVE
|
||||||
chmod +x ngrok
|
chmod +x ngrok
|
||||||
|
|
||||||
systemctl enable ngrok.service
|
systemctl enable ngrok.service
|
||||||
|
|
Loading…
Reference in New Issue
Block a user