mirror of
https://github.com/YunoHost-Apps/rss-bridge_ynh.git
synced 2024-09-03 20:25:51 +02:00
fix package_linter
This commit is contained in:
parent
0b19b11b7c
commit
a72a7093bc
1 changed files with 4 additions and 4 deletions
|
@ -35,9 +35,9 @@ ynh_secure_remove "/var/www/$app"
|
|||
# REMOVE NGINX AND PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
# Delete app directory and configurations
|
||||
sudo rm -rf "/var/www/${app}"
|
||||
sudo rm -f "/etc/php5/fpm/pool.d/${app}.conf"
|
||||
[[ -n $domain ]] && sudo rm -f "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||
sudo ynh_secure_remove --file="/var/www/${app}"
|
||||
sudo ynh_secure_remove --file="/etc/php5/fpm/pool.d/${app}.conf"
|
||||
[[ -n $domain ]] && sudo ynh_secure_remove --file="/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||
|
||||
# Reload services
|
||||
sudo systemctl restart php5-fpm
|
||||
|
@ -47,4 +47,4 @@ sudo systemctl reload nginx
|
|||
# REMOVE DEDICATED USER
|
||||
#=================================================
|
||||
|
||||
ynh_system_user_delete $app
|
||||
ynh_system_user_delete $app
|
||||
|
|
Loading…
Add table
Reference in a new issue