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:
parent
d0132b59ba
commit
3742b927ff
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue