mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Add uninstall script
This commit is contained in:
parent
5d9bc0658e
commit
254549e3f4
1 changed files with 7 additions and 0 deletions
7
trunk/scripts/unstall.sh
Executable file
7
trunk/scripts/unstall.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
systemctl disable srs
|
||||||
|
systemctl stop srs
|
||||||
|
rm -rf /usr/local/srs
|
||||||
|
rm -f /etc/init.d/srs
|
||||||
|
echo "SRS uninstalled"
|
Loading…
Add table
Add a link
Reference in a new issue