summaryrefslogtreecommitdiff
path: root/roles/streaming/dolmetsch-raspi/templates/dolmetschctl.service.j2
blob: 9489f87290d351a9795edb01187b938aa1d5a22e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=dolmetschctl Client
StartLimitBurst=10
StartLimitIntervalSec=5s

[Service]
ExecStart=/opt/dolmetschctl/dolmetschctl {{ dolmetsch_raspi_server_address }}:8234
Restart=always
RestartSec=1s
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