The documentation is too general for this. I have two simple requirements:
- run the agent as user, not as root
- it should start automatically if the osx host reboots, or after an agent upgrade
Currently I tried to use /Library/LaunchDaemons/jetbrains...plist file and set the user name in that plist. However, the upgrade process puts files/folders as root under my user dir (where the agen home dir is living). And it cannot kill/restart itself during an upgrade. Just nothing happens.
I am lost in permissions ;)
So what is the best way to have it what I want?