website/systemd/conservancy-www-db.path
Ben Sturmfels a6897a0f72
Add the conservancy-www-db.path Systemd file
This runs the SQL update when the relevant file is modified.
2023-11-25 13:41:55 +11:00

9 lines
174 B
SYSTEMD

[Unit]
Description=Update Conservancy website database
Before=apache2.service
[Path]
PathChanged=/home/debian/django-supporters-list.sql
[Install]
WantedBy=apache2.service