I have a Ubuntu Server application that is installed in /opt/myapp. Within this directory the application runs as a services and writes to /opt/myapp/logs/app.log.
How do I replicate this behavior in a Snap?
Can I map a symbolic link from “/snap/myapp/current/” to “/opt/myapp”?
Right now if I run the application manually it is getting errors writing to “/snap/myapp/current/logs/app.log”. What do I need to change to allow this.