mirror of
https://github.com/YunoHost-Apps/yourls_ynh.git
synced 2024-09-03 20:35:59 +02:00
add remove script
This commit is contained in:
parent
3687273ec1
commit
75c91cb153
1 changed files with 6 additions and 0 deletions
6
scripts/remove
Normal file
6
scripts/remove
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
domain=$(sudo yunohost app setting yourls domain)
|
||||||
|
|
||||||
|
sudo rm -rf /var/www/yourls
|
||||||
|
sudo rm -f /etc/nginx/conf.d/$domain.d/yourls.conf
|
Loading…
Reference in a new issue