2023-11-23 23:01:34 +00:00
|
|
|
# Run the website update script (see also: conservancy-www-update.timer).
|
|
|
|
|
2019-11-23 23:20:09 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Update Conservancy website checkout
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2023-09-14 08:14:22 +00:00
|
|
|
User=www-data
|
2019-11-23 23:20:09 +00:00
|
|
|
WorkingDirectory=/var/www/website
|
2024-02-13 15:51:04 +00:00
|
|
|
ExecStart=/var/www/website/deploy/systemd/conservancy-www-update.sh
|
2019-11-23 23:20:09 +00:00
|
|
|
|
|
|
|
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
|