[fix] Create a dedicated system user with proper sudo permissions.

Ref. #41.
This commit is contained in:
pitchum
2018-10-12 08:13:31 +02:00
committed by pitchum
parent 9d2bc631e5
commit 94bbcdb2db
6 changed files with 41 additions and 8 deletions

View File

@@ -50,4 +50,7 @@ sudo systemctl reload nginx
# Remove sources
sudo rm -rf /var/www/${app}/
# Removed system user
ynh_system_user_delete ${app}
exit 0