Edit the service of Bold BI apps using following command.
systemctl edit --full <boldbi-service-name>
Ex:
systemctl edit --full bold-id-web
systemctl edit --full bold-id-api
systemctl edit --full bold-ums-web
systemctl edit --full bold-bi-web
systemctl edit --full bold-bi-api
systemctl edit --full bold-bi-jobs
systemctl edit --full bold-bi-designer
Change the username, you want to run your application in the user value and save the service file.
You can also change the user in the service files by running the following command.
find "/etc/systemd/system/" -type f -name "*.service" -print0 | xargs -0 sed -i"s|$existing_user|$user_to_replace|g"
Check and provide read and write or owner permission for the Bold BI installed directory (/var/www/boldbi-embedded)
to the newly updated user.
Run the following command.
sudo systemctl daemon-reload
Restart the services using the following command.
systemctl restart bold-*
Now, the Bold BI application will run using the changed user.