1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

Change multimedia group

This commit is contained in:
Krakinou 2018-12-19 20:56:11 +01:00
parent d0132b59ba
commit 3742b927ff

View file

@ -111,8 +111,7 @@ ynh_add_nginx_config
# Create a system user
ynh_system_user_create $app
#add user to multimedia group
usermod -a -G multimedia $app
chown -R $app: $final_path
@ -129,6 +128,8 @@ ynh_add_systemd_config
# Build YunoHost multimedia directories
ynh_multimedia_build_main_dir
#add user to multimedia group
usermod -a -G multimedia $app
#Check if library folder exists. If not create it
if [ ! -e "$calibre_dir" ]; then