diff --git a/scripts/_common.sh b/scripts/_common.sh index 2df1d17..549e30a 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -54,7 +54,7 @@ ynh_add_uwsgi_service () { fi ynh_store_file_checksum "$finaluwsgiini" - chown root: "$finaluwsgiini" + chown $app "$finaluwsgiini" systemctl daemon-reload systemctl enable "uwsgi-app@$app.service" @@ -76,4 +76,4 @@ ynh_remove_uwsgi_service () { ynh_secure_remove "$finaluwsgiini" ynh_secure_remove "/var/log/uwsgi/app/$app" fi -} \ No newline at end of file +}