diff options
Diffstat (limited to 'roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2')
-rw-r--r-- | roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2 b/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2 new file mode 100644 index 00000000..c8c9ca79 --- /dev/null +++ b/roles/streaming/dolmetsch-raspi/templates/dolmetschctld.service.j2 @@ -0,0 +1,21 @@ +[Unit] +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 +ProtectSystem=strict +ProtectHome=yes +ProtectKernelTunables=yes +ProtectControlGroups=yes +RestrictRealtime=yes +RestrictAddressFamilies=AF_INET AF_INET6 + +[Install] +WantedBy=multi-user.target |