mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Fix package_linter error
This commit is contained in:
parent
9689db3f01
commit
7dacf55dfe
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ ynh_remove_systemd_config
|
||||||
# Legacy, for older versions of this app which used supervisor
|
# Legacy, for older versions of this app which used supervisor
|
||||||
if [ -f "/etc/supervisor/conf.d/${app}.conf" ]; then
|
if [ -f "/etc/supervisor/conf.d/${app}.conf" ]; then
|
||||||
sudo supervisorctl stop "$app"
|
sudo supervisorctl stop "$app"
|
||||||
sudo rm -f "/etc/supervisor/conf.d/${app}.conf"
|
sudo ynh_secure_remove --file="/etc/supervisor/conf.d/${app}.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -71,7 +71,7 @@ ynh_remove_nginx_config
|
||||||
# REMOVE LOG FILE
|
# REMOVE LOG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
sudo rm -rf "$logs_path"
|
sudo ynh_secure_remove --file="$logs_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE DEDICATED USER
|
# REMOVE DEDICATED USER
|
||||||
|
|
Loading…
Add table
Reference in a new issue