mirror of
https://github.com/vincenthsu/systemd-ngrok.git
synced 2024-11-26 15:32:16 +00:00
12 lines
208 B
Bash
Executable File
12 lines
208 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if (( $EUID != 0 )); then
|
|
echo "Please run as root"
|
|
exit 1
|
|
fi
|
|
|
|
systemctl stop ngrok.service
|
|
systemctl disable ngrok.service
|
|
rm /lib/systemd/system/ngrok.service
|
|
rm -rf /opt/ngrok
|