From 012cc58d2149619b4b01179a4c333b7a41b8b452 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Tue, 7 Jul 2020 15:39:07 +0200 Subject: [PATCH] add symlink --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 85468c9e..42b79a12 100755 --- a/install.sh +++ b/install.sh @@ -479,6 +479,7 @@ if [[ ! -d "/var/www/ffplayout" ]]; then fi cd /var/www/ffplayout/ffplayout/frontend + ln -s "$mediaPath" /var/www/ffplayout/ffplayout/frontend/static/ sudo -H -u $serviceUser bash -c 'npm install' @@ -487,7 +488,7 @@ BASE_URL='http://$domain' API_URL='/' EOF - npm run build + sudo -H -u $serviceUser bash -c 'npm run build' systemctl start ffplayout-api.service fi