This repository has been archived on 2023-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
tcpaste/contrib/systemd/tcp-expire.service.in
Thorsten Schubert 4f4cb4258d
All checks were successful
continuous-integration/drone/push Build is passing
Rename to erased
2021-10-29 22:00:50 +02:00

24 lines
503 B
SYSTEMD

[Service]
Type=oneshot
User=unsha
Group=http
ExecStart=@bindir@/expire @path@
ReadWritePaths=@path@
ProtectSystem=strict
ProtectHome=tmpfs
BindReadOnlyPaths=@bindir@
PrivateTmp=true
PrivateDevices=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
SystemCallArchitectures=native
NoNewPrivileges=true
RestrictRealtime=true
MemoryDenyWriteExecute=true
ProtectKernelLogs=true
LockPersonality=true
ProtectHostname=true
RemoveIPC=true
RestrictSUIDSGID=true
ProtectClock=true