blob: 0322fb770750bcaecf01849a7355d0e94e17fa0e (
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
32
33
34
35
36
37
38
|
[Unit]
Description=Jitsi-Meet Videobridge
After=network-online.target
[Service]
EnvironmentFile=/etc/jitsi-videobridge/config
User=jvb
ExecStart=/usr/lib/jitsi-videobridge/jvb.sh ${JVB_OPTS}
WorkingDirectory=/var/lib/jitsi-videobridge
StateDirectory=jitsi-videobridge
StateDirectoryMode=0750
LogsDirectory=jitsi-videobridge
LogsDirectoryMode=0750
ConfigurationDirectory=jitsi-videobridge
ConfigurationDirectoryMode=0700
Restart=on-failure
RestartSec=2
SuccessExitStatus=143
# more threads for this process
TasksMax=65000
# allow more open files for this process
LimitNPROC=65000
LimitNOFILE=65000
# Hardening
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectHome=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
ProtectSystem=strict
[Install]
WantedBy=multi-user.target
|