Files @ 613674c07189
Branch filter:

Location: website/systemd/conservancy-www-cleanup.service

Bradley M. Kuhn
Revert addition from pono — Q&A link added too early

Commit 37d67fb1da4ab8af30e926c52ee28c38b45305eb included this link,
and it was brought in from a branch from pono. Removing it
temporarily.
[Unit]
Description=Cleanup Conservancy website
Before=apache2.service

[Service]
Type=oneshot
User=www
ExecStart=/usr/bin/python /var/www/website/www/manage.py clearsessions --verbosity 0

SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete
CapabilityBoundingSet=
NoNewPrivileges=true

PrivateDevices=true
PrivateNetwork=true
PrivateTmp=true
PrivateUsers=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
ReadWritePaths=/var/lib/www/database

[Install]
WantedBy=apache2.service