From b18a7063b1c9ad0dd895e46f344dcb20c59d195e Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 5 Mar 2026 14:08:56 +0100 Subject: Install webmap-cgi under /usr/local/libexec. --- tasks/webmap.yml | 4 ++-- templates/etc/systemd/system/webmap-cgi.service | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/webmap.yml b/tasks/webmap.yml index 35c9801..6f32a27 100644 --- a/tasks/webmap.yml +++ b/tasks/webmap.yml @@ -434,9 +434,9 @@ - systemctl daemon-reload - Stop webmap-cgi.service -- name: Copy /usr/libexec/webmap-cgi +- name: Copy /usr/local/libexec/webmap-cgi copy: src=./webmap-tools/webmap-cgi - dest=/usr/libexec/webmap-cgi + dest=/usr/local/libexec/webmap-cgi owner=root group=root mode=0755 notify: diff --git a/templates/etc/systemd/system/webmap-cgi.service b/templates/etc/systemd/system/webmap-cgi.service index 146a5ed..809d104 100644 --- a/templates/etc/systemd/system/webmap-cgi.service +++ b/templates/etc/systemd/system/webmap-cgi.service @@ -18,7 +18,7 @@ ExecStart=/usr/bin/uwsgi -M -p2 \ --lazy-apps \ --plugins python3 \ --pythonpath /usr/local/share/webmap \ - --wsgi-file /usr/libexec/webmap-cgi + --wsgi-file /usr/local/libexec/webmap-cgi Nice=10 RestartSec=15s Restart=always -- cgit v1.2.3