summaryrefslogtreecommitdiff
path: root/roles/elevate/dolmetsch-raspi/templates/rtp-recv.service.j2
blob: b338ff65a9755dfc726da6f118398990d29c7aba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=RTP Receiver

[Service]
{# TODO: remove hardcoded IP #}
ExecStart=/usr/local/bin/rtp-recv.sh 192.168.48.103
Restart=always
RestartSecs=1s
StartLimitBurst=10
StartLimitIntervalSec=5s
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
PrivateTmp=yes
ProtectSystem=strict
ProtectHome=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_INET AF_INET6

[Install]
WantedBy=multi-user.target