summaryrefslogtreecommitdiffstats
path: root/walrss.service
blob: ae8f2d9774f364d0a662671809e7e3ae2778c115 (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
[Unit]
Description=Email-based RSS digest generator

[Service]
User=walrss
Restart=always
ExecStart=/usr/bin/walrss
StateDirectory=walrss
EnvironmentFile=/etc/conf.d/walrss

CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
SystemCallFilter=@system-service
SystemCallErrorNumber=EPERM

ProtectSystem=strict
ProtectHome=true
PrivateTmp=true
PrivateDevices=true
ExecPaths=/usr/bin/walrss

ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
ProtectClock=true
RestrictRealtime=true
RestrictSUIDSGID=true

[Install]
WantedBy=multi-user.target