From: Landry Breuil Subject: Re: [update] net/synapse 1.120.0 To: Renaud Allard , ports Date: Wed, 27 Nov 2024 09:56:05 +0100 Le Wed, Nov 27, 2024 at 08:51:11AM +0000, Stuart Henderson a écrit : > On 2024/11/27 09:40, Renaud Allard wrote: > > Hello, > > > > Here is a diff for net/synapse 1.120.0. > > Tested on amd64 > > I made a small change in the README to give instructions on how to update > > the database in case of schema changes. > > +It can be done with a command like this one: > +doas -u _synapse python \ > + ${LOCALBASE}/bin/update_synapse_database \ > + --database-config /var/synapse/homeserver.yaml \ > + --run-background-updates > > > No package provides a "python" binary, it's either python2 or python3. > > Can't this just use the script directly? > > +doas -u _synapse ${LOCALBASE}/bin/update_synapse_database \ > + --database-config /var/synapse/homeserver.yaml \ > + --run-background-updates yes definitely, since it has a proper shebang and is chmod +x. i'll commit a tweaked version once my build finishes. Landry