summaryrefslogtreecommitdiff
path: root/roles/streaming/dolmetsch-raspi/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/streaming/dolmetsch-raspi/templates')
-rw-r--r--roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j24
-rw-r--r--roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j24
-rw-r--r--roles/streaming/dolmetsch-raspi/templates/rtp-recv.service.j24
-rw-r--r--roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j24
4 files changed, 8 insertions, 8 deletions
diff --git a/roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j2 b/roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j2
index bcf2b784..12207e1d 100644
--- a/roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j2
+++ b/roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j2
@@ -1,12 +1,12 @@
[Unit]
Description=dolmetschctl Client
+StartLimitBurst=10
+StartLimitIntervalSec=5s
[Service]
ExecStart=/opt/dolmetschctl/dolmetschctl {{ dolmetsch_raspi_server_address }}:8234
Restart=always
RestartSecs=1s
-StartLimitBurst=10
-StartLimitIntervalSec=5s
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
PrivateTmp=yes
diff --git a/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2 b/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2
index fc6e632d..18eb99fd 100644
--- a/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2
+++ b/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2
@@ -1,12 +1,12 @@
[Unit]
Description=dolmetschctl Server
+StartLimitBurst=10
+StartLimitIntervalSec=5s
[Service]
ExecStart=/opt/dolmetschctl/dolmetschctld
Restart=always
RestartSecs=1s
-StartLimitBurst=10
-StartLimitIntervalSec=5s
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
PrivateTmp=yes
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
diff --git a/roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2 b/roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2
index 090bb80a..0e054008 100644
--- a/roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2
+++ b/roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2
@@ -1,12 +1,12 @@
[Unit]
Description=RTP Sender
+StartLimitBurst=10
+StartLimitIntervalSec=5s
[Service]
ExecStart=/usr/local/bin/rtp-send.sh {{ dolmetsch_raspi_server_address }}
Restart=always
RestartSecs=1s
-StartLimitBurst=10
-StartLimitIntervalSec=5s
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
NoNewPrivileges=yes
PrivateTmp=yes