1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/security_tracker/files/security-tracker-update.service
Jelle van der Waa 6134cf9ae5 security_tracker: harden system service
Mount /usr, /etc read only, protect the /home, /tmp and kernel
directories. Also disallow privilige escalation.
2018-12-15 23:04:59 +01:00

22 lines
389 B
SYSTEMD

[Unit]
Description=Security Tracker update service
[Service]
Type=oneshot
User=security
Group=security
WorkingDirectory=/srv/http/security-tracker
ExecStart=/usr/bin/make update
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
[Install]
WantedBy=multi-user.target