summarylogtreecommitdiffstats
path: root/livepeer.service
blob: dc53aec78205b806120a70f531d552d14aaca830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[Unit]
Description=Go-Livepeer Orchestrator and Transcoder service
Documentation=https://docs.livepeer.org
After=network.target
Wants=network-online.target

StartLimitIntervalSec=500
StartLimitBurst=5

[Service]
User=livepeer
Group=livepeer
Type=simple

ExecStart=/usr/bin/livepeer -config /etc/go-livepeer/livepeer.conf

Restart=on-failure
RestartSec=5s

RestrictRealtime=yes
RestrictSUIDSGID=yes
ProtectKernelLogs=yes
RestrictNamespaces=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
ProtectKernelTunables=yes
SystemCallArchitectures=native
SystemCallFilter=@system-service

[Install]
WantedBy=default.target