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.

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.

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.

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

Claude

Reply via email to