1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

Fix package_linter error (#140)

Fix package_linter error
This commit is contained in:
Pierre de La Morinerie 2019-05-24 08:35:58 +02:00 committed by GitHub
commit d338fe6dfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ ynh_remove_systemd_config
# Legacy, for older versions of this app which used supervisor
if [ -f "/etc/supervisor/conf.d/${app}.conf" ]; then
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
#=================================================
@ -71,7 +71,7 @@ ynh_remove_nginx_config
# REMOVE LOG FILE
#=================================================
sudo rm -rf "$logs_path"
sudo ynh_secure_remove --file="$logs_path"
#=================================================
# REMOVE DEDICATED USER