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/dolmetschctl.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/dolmetschctl.service.j2')
-rw-r--r-- | roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j2 | 4 |
1 files changed, 2 insertions, 2 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 |