Correct, I'm snapping an app with db, and to be able to create users I need to change the db config and restart the app.
The way I have done it now is that I'm uploading the config before installing the snap, but I want a more streamline install.
I have tried to copy over the file during install but havnt succeded. I have used the install hook to try and copy but nothing shows up in the folder.
I have tried this
cp "myfile.." /var/snap/rexroth-solutions/common/solutions/activeConfiguration/
cp "myfile.." $SNAP_COMMON/solutions/activeConfiguration/
Do you now the exact path?
... View more