1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

Merge pull request #29 from YunoHost-Apps/testing

only members of group audio can play sound
This commit is contained in:
siwinter 2021-08-01 15:49:41 +02:00 committed by GitHub
commit 47e36ab8f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_script_progression --message="Configuring system user..."
# Create a system user
ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell
ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell --groups="audio"
#=================================================
# INSTALL MOPIDY IN PYTHON ENVIRONMENT

View file

@ -65,7 +65,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_script_progression --message="Recreating the dedicated system user..." --weight=1
# Create the dedicated user (if not existing)
ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell
ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell --groups="audio"
#=================================================
# RESTORE THE APP MAIN DIR

View file

@ -103,7 +103,7 @@ ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
ynh_script_progression --message="Making sure dedicated system user exists..." --weight=1
# Create a dedicated user (if not existing)
ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell
ynh_system_user_create --username="$app" --home_dir="$final_path" --use_shell --groups="audio"
#=================================================
# SPECIFIC UPGRADE