From 14e1be18193f22b81fadc9f3e5162e254409d822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 20 Aug 2018 22:46:56 +0200 Subject: [PATCH] Fix uwsgi helper --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}