diff --git a/systemd/conservancy-www-linkchecker.service b/systemd/conservancy-www-linkchecker.service new file mode 100644 index 00000000..33ccf343 --- /dev/null +++ b/systemd/conservancy-www-linkchecker.service @@ -0,0 +1,23 @@ +# 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 diff --git a/systemd/conservancy-www-linkchecker.timer b/systemd/conservancy-www-linkchecker.timer new file mode 100644 index 00000000..fa1c44db --- /dev/null +++ b/systemd/conservancy-www-linkchecker.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Check Conservancy website links + +[Timer] +OnCalendar=weekly + +[Install] +WantedBy=timers.target