mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2025-02-06 06:55:30 +00:00
Improved script code
This commit is contained in:
parent
69b4852152
commit
46741f40ba
|
@ -41,9 +41,10 @@ if [ -z "$1" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e ngrok.service ]; then
|
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
|
cd systemd-ngrok
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp ngrok.service /lib/systemd/system/
|
cp ngrok.service /lib/systemd/system/
|
||||||
mkdir -p /opt/ngrok
|
mkdir -p /opt/ngrok
|
||||||
cp ngrok.yml /opt/ngrok
|
cp ngrok.yml /opt/ngrok
|
||||||
|
|
Loading…
Reference in New Issue
Block a user