From c7e12a8ef748c0abbbffd166b190172cb1295630 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 3 Apr 2022 10:50:56 +0200 Subject: [PATCH] Fix --- doc/DESCRIPTION.md | 4 +++- scripts/install | 16 ++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md index 009a0a2..832cca8 100644 --- a/doc/DESCRIPTION.md +++ b/doc/DESCRIPTION.md @@ -1 +1,3 @@ -[Baïkal](http://baikal-server.com/) is a CalDAV and CardDAV server, based on sabre/dav, that includes an administration interface for easy management. \ No newline at end of file +[Baïkal](http://baikal-server.com/) is a lightweight CalDAV+CardDAV server. It offers an extensive web interface with easy management of users, address books and calendars. It is fast and simple to install and only needs a basic php capable server. The data can be stored in a MySQL or a SQLite database. + +Baïkal allows to seamlessly access your contacts and calendars from every device. It is compatible with iOS, Mac OS X, DAVx5 on Android, Mozilla Thunderbird and every other CalDAV and CardDAV capable application. Protect your privacy by hosting calendars and contacts yourself - with Baïkal. \ No newline at end of file diff --git a/scripts/install b/scripts/install index a4d4311..1eee328 100644 --- a/scripts/install +++ b/scripts/install @@ -64,6 +64,14 @@ ynh_script_progression --message="Installing dependencies..." --weight=5 ynh_install_app_dependencies $pkg_dependencies +#================================================= +# CREATE DEDICATED USER +#================================================= +ynh_script_progression --message="Configuring system user..." --weight=1 + +# Create a system user +ynh_system_user_create --username=$app --home_dir="$final_path" + #================================================= # CREATE A MYSQL DATABASE #================================================= @@ -95,14 +103,6 @@ ynh_script_progression --message="Configuring NGINX web server..." # Create a dedicated NGINX config ynh_add_nginx_config -#================================================= -# CREATE DEDICATED USER -#================================================= -ynh_script_progression --message="Configuring system user..." --weight=3 - -# Create a system user -ynh_system_user_create --username=$app - #================================================= # PHP-FPM CONFIGURATION #=================================================