Browse Source

[fix] Remove sudoers file on app remove.

pitchum 6 years ago
parent
commit
62ed195729
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/remove

+ 1 - 0
scripts/remove

@@ -68,5 +68,6 @@ sudo rm -rf /var/www/${app}/
 
 # Removed system user
 ynh_system_user_delete ${app}
+sudo rm -f /etc/sudoers.d/${app}_ynh
 
 exit 0