diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-02-26 16:50:52 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-02-26 16:50:52 +0100 |
commit | 313fe6119b019d7287c812993d7f73120d0e7031 (patch) | |
tree | 9a74be8d97cc9838af4059ff0b0c6126ed9aba22 /roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2 | |
parent | fix usb/vm-install (diff) |
improved restart for systtemd units on dolmetsch raspi
Diffstat (limited to 'roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2')
-rw-r--r-- | roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2 b/roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2 index d26d1313..c8c9ca79 100644 --- a/roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2 +++ b/roles/elevate/dolmetsch-raspi/templates/dolmetschctld.service.j2 @@ -3,6 +3,10 @@ Description=dolmetschctl Server [Service] ExecStart=/opt/dolmetschctl/bin/dolmetschctld +Restart=always +RestartSecs=1s +StartLimitBurst=10 +StartLimitIntervalSec=5s CapabilityBoundingSet=CAP_NET_BIND_SERVICE NoNewPrivileges=yes PrivateTmp=yes |