blob: 330c76b915a7dc930e718a4e7a3dbc7e9b71f3ea (
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=FediFetcher Service
After=network.target
[Service]
Type=simple
User=fedi-fetcher
Group=fedi-fetcher
ExecStart=/usr/bin/fedi-fetcher -c /etc/fedi-fetcher/config.json --lock-file /run/fedi-fetcher/.lock --state-dir /var/lib/fedi-fetcher
RuntimeDirectory=fedi-fetcher
StateDirectory=fedi-fetcher
ConfigurationDirectory=fedi-fetcher
ProtectSystem=strict
PrivateTmp=yes
ProtectHome=yes
ProtectKernelTunables=yes
NoNewPrivileges=yes
SystemCallArchitectures=native
PrivateDevices=yes
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictRealtime=true
LockPersonality=true
ProtectKernelLogs=true
ProtectHostname=true
ProtectKernelModules=true
PrivateUsers=true
ProtectClock=true
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target
|