summaryrefslogtreecommitdiffstats
path: root/templates/etc/systemd
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2026-03-06 13:50:24 +0100
committerGuilhem Moulin <guilhem@fripost.org>2026-03-06 16:08:40 +0100
commit1af347391f9f54b370dfc7395464b8ed637a79ca (patch)
treef73b1ff30c968763260c0aa0443de572c665350e /templates/etc/systemd
parent8ee835b7fc9a3e3eac93a74f877b0b040d8dcb03 (diff)
Rename "webmap" to the less generic "geodata".
The database has uses beyond the webmap. Cf. ca91a579770c89d25aefae220079bf336fa88dc9 in tools.
Diffstat (limited to 'templates/etc/systemd')
-rw-r--r--templates/etc/systemd/system/geodata-update@.timer.d/override.conf.j23
-rw-r--r--templates/etc/systemd/system/webmap-cgi.service2
-rw-r--r--templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j23
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/etc/systemd/system/geodata-update@.timer.d/override.conf.j2 b/templates/etc/systemd/system/geodata-update@.timer.d/override.conf.j2
new file mode 100644
index 0000000..103fbde
--- /dev/null
+++ b/templates/etc/systemd/system/geodata-update@.timer.d/override.conf.j2
@@ -0,0 +1,3 @@
+[Timer]
+OnCalendar=
+OnCalendar={{ geodata_layer_groups_update_calendar[item] }}
diff --git a/templates/etc/systemd/system/webmap-cgi.service b/templates/etc/systemd/system/webmap-cgi.service
index 809d104..9c9ffe9 100644
--- a/templates/etc/systemd/system/webmap-cgi.service
+++ b/templates/etc/systemd/system/webmap-cgi.service
@@ -17,7 +17,7 @@ ExecStart=/usr/bin/uwsgi -M -p2 \
--harakiri 60 \
--lazy-apps \
--plugins python3 \
- --pythonpath /usr/local/share/webmap \
+ --pythonpath /usr/local/share/geodata \
--wsgi-file /usr/local/libexec/webmap-cgi
Nice=10
RestartSec=15s
diff --git a/templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2 b/templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2
deleted file mode 100644
index 795ee20..0000000
--- a/templates/etc/systemd/system/webmap-update@.timer.d/override.conf.j2
+++ /dev/null
@@ -1,3 +0,0 @@
-[Timer]
-OnCalendar=
-OnCalendar={{ webmap_layer_groups_update_calendar[item] }}