summarylogtreecommitdiffstats
path: root/jitsi-videobridge.service
diff options
context:
space:
mode:
Diffstat (limited to 'jitsi-videobridge.service')
-rw-r--r--jitsi-videobridge.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/jitsi-videobridge.service b/jitsi-videobridge.service
index 6e97d534a63..ae82918c032 100644
--- a/jitsi-videobridge.service
+++ b/jitsi-videobridge.service
@@ -6,8 +6,23 @@ 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