diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2026-03-05 14:08:56 +0100 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2026-03-05 14:08:56 +0100 |
| commit | b18a7063b1c9ad0dd895e46f344dcb20c59d195e (patch) | |
| tree | 5cf22bae70895053a522db2fed0bcc24b77c3878 | |
| parent | 240bac74253b0c9ae45bafd62a2940d1813d9f9e (diff) | |
| -rw-r--r-- | tasks/webmap.yml | 4 | ||||
| -rw-r--r-- | 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 |
