diff --git a/systemd/conservancy-www-update.service b/systemd/conservancy-www-update.service new file mode 100644 index 0000000000000000000000000000000000000000..a2f363b08343f267964eae28521ffbdfd6317d39 --- /dev/null +++ b/systemd/conservancy-www-update.service @@ -0,0 +1,23 @@ +[Unit] +Description=Update Conservancy website checkout + +[Service] +Type=oneshot +User=www +WorkingDirectory=/var/www/website +ExecStart=/var/www/website/systemd/conservancy-www-update.sh + +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 +ReadWritePaths=/var/www/website