blob: bdfbb31bdc5da9f5c4006aba72e51370fa8b4e24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
[Unit]
Description=A reverse proxy, load balancer, and SSL wrapper
Documentation=man:pound(8)
After=syslog.target network-online.target systemd-sysusers.service
Wants=network-online.target
[Service]
AmbientCapabilities=CAP_NET_BIND_SERVICE
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
DeviceAllow=
DynamicUser=yes
ExecStart=/usr/bin/pound
LockPersonality=yes
MemoryDenyWriteExecute=yes
PIDFile=/run/pound/pound.pid
PrivateDevices=yes
PrivateTmp=true
ProtectClock=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelLogs=yes
ProtectKernelModules=yes
ProtectKernelTunables=yes
RestrictAddressFamilies=~AF_PACKET AF_NETLINK AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RuntimeDirectory=pound
StateDirectory=pound
SystemCallArchitectures=native
SystemCallFilter=@system-service
SystemCallFilter=~@resources @privileged
Type=forking
UMask=177
[Install]
WantedBy=multi-user.target
|