Changeset - 66c8b2c8ea97
[Not reviewed]
0 0 2
Ben Sturmfels (bsturmfels) - 5 months ago 2023-11-23 23:49:45
ben@sturm.com.au
Add linkchecker Systemd service and timer

Doesn't yet email report of errors.
2 files changed with 31 insertions and 0 deletions:
0 comments (0 inline, 0 general)
systemd/conservancy-www-linkchecker.service
Show inline comments
 
new file 100644
 
# 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
systemd/conservancy-www-linkchecker.timer
Show inline comments
 
new file 100644
 
[Unit]
 
Description=Check Conservancy website links
 

	
 
[Timer]
 
OnCalendar=weekly
 

	
 
[Install]
 
WantedBy=timers.target
0 comments (0 inline, 0 general)