How to make a service run as normal user

I’m trying to find information about how to make snap a service to run as a normal user.

This seems like a prerequisite for me to be able to save persistent data between upgrades (not getting copied by snapd) and also add some security to the service which is great.

I’ve searched the forum, but can only find discussions from 2021.

Is this perhaps documented or can someone point me to a similar snap for reference/help?

this is something that perhaps @jamesh can speak to

1 Like

This seems to overlap: Specifying snap_daemon as user when running a snap application

1 Like