Hello Community!
I have a Problem with starting my application via systemctl command.
The application run under a non root user and If i start the app with the Systemctl command, neccessary Environment variables doesn't apply.
I have set the User in the /etc/systemd/System/myapp.service file
Code:
[Service]
User=myuser
Starting the app the normal way works without Problems, because the Settings from
/home/myuser/.bash_profile are working.
How can I configure systemd, that only for myapp.service additional Environment Settings should be applied?
Thanks
Richi