blob: 48bf44c71d2ee4f7dfca9075e320fa0e8d0f03e5 (
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
38
39
40
41
42
|
[Unit]
Description=Flightradar24 UAT Decoder & Feeder
After=network-online.target
[Service]
Type=simple
Restart=on-failure
ExecStartPre=/usr/bin/fr24feed --validate-config --config-file=/etc/fr24uat-feed.ini
ExecStart=/usr/bin/fr24feed --monitor-file=%T/uat-decoder.txt --http-listen-port=8755 --config-file=/etc/fr24uat-feed.ini --unit=fr24uat-feed
StandardOutput=journal
StandardError=journal
ProtectProc=invisible
ProcSubset=pid
User=fr24
DynamicUser=yes
SupplementaryGroups=rtlsdr systemd-journal
CapabilityBoundingSet=
NoNewPrivileges=yes
UMask=0077
CPUSchedulingPolicy=idle
ProtectSystem=strict
ProtectHome=yes
PrivateTmp=yes
PrivateUsers=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK
RestrictNamespaces=~user pid net uts mnt cgroup ipc
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete @privileged @raw-io @reboot @resources @swap
SystemCallArchitectures=native
Environment=PATH=/usr/lib/flightradar24:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
[Install]
WantedBy=multi-user.target
|