summarylogtreecommitdiffstats
path: root/jitsi-videobridge.service
blob: ae82918c032202021a5227c8fa43b487cd130543 (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
[Unit]
Description=Jitsi Videobridge
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
EnvironmentFile=/etc/jitsi/videobridge/jitsi-videobridge.conf
User=jvb
ExecStart=/usr/share/jitsi-videobridge/jvb.sh --host=${JVB_HOST} --domain=${JVB_HOSTNAME} --port=${JVB_PORT} --secret=${JVB_SECRET} ${JVB_OPTS}
WorkingDirectory=~
StateDirectory=jitsi-videobridge
StateDirectoryMode=0750
LogsDirectory=jitsi-videobridge
LogsDirectoryMode=0750
Restart=on-failure

# Hardening
#NoNewPrivileges=yes
#PrivateTmp=yes
#PrivateDevices=yes
#ProtectHome=yes
#ProtectKernelTunables=yes
#ProtectControlGroups=yes
#ProtectSystem=strict

[Install]
WantedBy=multi-user.target