mirror of
https://github.com/YunoHost-Apps/phpsysinfo_ynh.git
synced 2024-09-03 19:56:43 +02:00
Bug: add helpers in remove
This commit is contained in:
parent
c52f3d9e6f
commit
fe5b10d450
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,9 @@
|
||||||
# Define app
|
# Define app
|
||||||
app=phpsysinfo
|
app=phpsysinfo
|
||||||
|
|
||||||
|
# Source YunoHost helpers
|
||||||
|
. /usr/share/yunohost/helpers
|
||||||
|
|
||||||
# Retrieve app settings
|
# Retrieve app settings
|
||||||
domain=$(ynh_app_setting_get "$app" domain)
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
|
||||||
|
@ -13,4 +16,4 @@ sudo rm -rf /var/www/$app
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/phpsysinfo.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/phpsysinfo.conf
|
||||||
|
|
||||||
# Restart services
|
# Restart services
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
Loading…
Add table
Reference in a new issue