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:
commit
47e36ab8f6
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue