GwDataFind Server API
It runs on w3.ego-gw.it
Service:
/etc/systemd/system/gwdatafind-server.service
# vim: set ft=systemd:
[Unit]
Description=GWDataFind Server
After=network.target
[Service]
Type=simple
User=root
ExecStart=/virgoApp/gwdatafind-server/v1r3p0/Linux-x86_64-CL7/bin/run-gwdatafind-server.sh
ExecStop=/bin/kill -s TERM $MAINPID
NoNewPrivileges=true
PrivateTmp=true
Restart=always
[Install]
WantedBy=multi-user.target
where
/virgoApp/gwdatafind-server/v1r3p0/Linux-x86_64-CL7/bin/run-gwdatafind-server.sh
#!/usr/bin/env bash
export LDR_LOCATION=/virgoApp/gwdatafind-server/v1r3p0/config
source /virgoApp/gwdatafind-server/venv-gwdatafind-server-1.3.0/bin/activate
/virgoApp/gwdatafind-server/v1r3p0/scripts/run-gwdatafind-server.py
Apache Reverse proxy… to serve on
datafind.virgo-gw.eu:80
in httpd.conf
<VirtualHost *:80>
ServerName datafind.virgo-gw.eu:80
###########################################
# GWDataFind Reverse Proxy conf #
###########################################
ProxyPass "/LDR" "http://127.0.0.1:8080/" retry=0 ttl=60
ProxyPassReverse "/LDR" "http://127.0.0.1:8080/"
##########################################