diff --git a/scripts/install b/scripts/install index c5d25a9..f7dafd1 100755 --- a/scripts/install +++ b/scripts/install @@ -197,6 +197,8 @@ fi #================================================= ynh_print_info --message="Configuring SSOwat..." +ynh_permission_create --permission="admin" + # Make app public if necessary if [ $is_public -eq 1 ] then diff --git a/scripts/remove b/scripts/remove index 005222b..5211c21 100755 --- a/scripts/remove +++ b/scripts/remove @@ -63,6 +63,7 @@ ynh_remove_nodejs # Only remove the mongodb service if it is not installed. if ! ynh_package_is_installed --package="mongodb" +then yunohost service remove mongodb fi