Ben Sturmfels
55ee5b53b6
Currently updates are published by the "conservancy-www-update.sh" that does a "pull" deploy with a 5-minutely job that runs on the web server. This doesn't run `migrate`, `collectstatic` or restart the application, so certain types of changes don't take effect, and even template changes often don't due to caching template loader. This script allows you to deploy more significant updates on-demand, but requires SSH access.
23 lines
502 B
Desktop File
23 lines
502 B
Desktop File
# Check all internal links on the Conservancy website
|
|
|
|
[Unit]
|
|
Description=Check Conservancy website links
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=debian
|
|
ExecStart=linkchecker https://sfconservancy.org/
|
|
|
|
SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete
|
|
CapabilityBoundingSet=
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
PrivateNetwork=false
|
|
PrivateTmp=true
|
|
PrivateUsers=false
|
|
ProtectControlGroups=true
|
|
ProtectHome=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
ProtectSystem=strict
|