website/systemd/conservancy-www-update.service

24 lines
531 B
SYSTEMD
Raw Normal View History

2019-11-23 23:20:09 +00:00
[Unit]
Description=Update Conservancy website checkout
[Service]
Type=oneshot
User=www-data
2019-11-23 23:20:09 +00:00
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