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

[Service]
{# TODO: remove hardcoded IP #}
ExecStart=/usr/local/bin/rtp-recv.sh 192.168.48.103
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