diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-05-22 11:35:32 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-05-26 00:28:30 +0200 |
commit | a39a6afea620fad2a88a171a3813c8bf211f50e2 (patch) | |
tree | 329a06669d881a377424bd4e2e96876425afb0dd /files/etc/systemd/system/webmap-cgi.socket | |
parent | aba2da0757d6d459baa431786c815c74da4e830c (diff) |
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.
Diffstat (limited to 'files/etc/systemd/system/webmap-cgi.socket')
-rw-r--r-- | files/etc/systemd/system/webmap-cgi.socket | 11 |
1 files changed, 11 insertions, 0 deletions
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 |