summaryrefslogtreecommitdiff
path: root/roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-07-09 16:44:51 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-07-09 16:44:51 +0200
commite42324011666ac22388ceaa9a0937bff0450807c (patch)
tree7eaafc019f6c896e7e088078abfac2a9dc1b3df9 /roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2
parentprometheus: increase level for read/write latency alert (diff)
dolmetsch-rapsi: fix autorestarting of service units
Diffstat (limited to 'roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2')
-rw-r--r--roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2 b/roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2
index be655128..11e66a78 100644
--- a/roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2
+++ b/roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j2
@@ -1,12 +1,12 @@
[Unit]
Description=RTP Receiver
+StartLimitBurst=10
+StartLimitIntervalSec=5s
[Service]
ExecStart=/usr/local/bin/rtp-recv.sh {{ dolmetsch_raspi_client_address }} {{ dolmetsch_raspi_recv_latency }}
Restart=always
RestartSecs=1s
-StartLimitBurst=10
-StartLimitIntervalSec=5s
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
PrivateTmp=yes