Claude,

Thank you for doing this. https works now as well which is great.

One question: the ASF Infra email mentioned

On 29/03/2023 12:43, Claude Warren wrote:
Greetings,

After several attempts the sparql.org site is automated.  There was a
recent announcement from infrastructure indicating that they would be
automating reboots to handle system updates.  The changes listed below were
undertaken to ensure that the sparql.org site would restart properly.

I modified
https://github.com/apache/infrastructure-p6/blob/production/data/nodes/jena-vm.apache.org.yaml
to add the uu_asf entry to send reboot notifications to dev@jena.a.o and
added proxy pass info to the sparql-ssl section.

If the reboots become too frequent (I hope not) emal can be redirected but i think for now, dev@ is fine.

FYI all: the server runs Ubuntu 20.04.6 LTS

On the jena-vm.apache.org server (where sparql.org is alised) I created an
/etc/jena directory and
copied files from /home/andy/sparqler to /etc/jena/sparqler.

Updates for sparqler should now be performed in the /etc/jena/sparqler
directory.

And I've moved the old stuff into a dumping area to make sure I see that the upgrade should be done elsewhere.


I created sparqler.service starts after apache2.service and uses
"ExecStart=/etc/jena/sparqler/run-sparqler" and "ExecStop=/usr/bin/pkill -f
fuseki" to start and stop the Fuseki engine after setting
"Environment=BACKGROUND=0" to force operation in the foreground.

I created a symbolic link from  /lib/systemd/system/sparqler.service to
/etc/jena/sparqler.service and executed `systemctl enable sparqler.service`
to ensure the system starts and stops as required during rebooting.

We might want to consider adding sparqler.service as a fuseki.service into
one of the subprojects as an example of how to start/stop using systemd.

Yes - where do you suggest?

Either jena-fuseki2/examples or jena-fuseki2/jena-fuseki-main/sparqler (and the latter could usefully be moved out .. but separate matter).

This should resolve any issues with rebooting the sparql.org system.

Claude


Works great!

    Andy

Reply via email to