diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-07-09 16:44:51 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-07-09 16:44:51 +0200 |
commit | e42324011666ac22388ceaa9a0937bff0450807c (patch) | |
tree | 7eaafc019f6c896e7e088078abfac2a9dc1b3df9 /roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2 | |
parent | prometheus: increase level for read/write latency alert (diff) |
dolmetsch-rapsi: fix autorestarting of service units
Diffstat (limited to 'roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2')
-rw-r--r-- | roles/streaming/dolmetsch-raspi/templates/rtp-send.service.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
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 |