From a39a6afea620fad2a88a171a3813c8bf211f50e2 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 22 May 2025 11:35:32 +0200 Subject: Deploy the webmap CGI. We also lower tile expiration time from 8h to 30m to reduce the race condition where the database an the on-disk tiles are not in sync. --- files/etc/systemd/system/webmap-cgi.socket | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 files/etc/systemd/system/webmap-cgi.socket (limited to 'files/etc/systemd/system/webmap-cgi.socket') diff --git a/files/etc/systemd/system/webmap-cgi.socket b/files/etc/systemd/system/webmap-cgi.socket new file mode 100644 index 0000000..2828985 --- /dev/null +++ b/files/etc/systemd/system/webmap-cgi.socket @@ -0,0 +1,11 @@ +[Unit] +Description=Webmap CGI (Common Gateway Interface) activation socket +After=syslog.target network.target + +[Socket] +ListenStream=%t/webmap-cgi.socket +SocketUser=www-data +SocketMode=0666 + +[Install] +WantedBy=sockets.target -- cgit v1.2.3