summarylogtreecommitdiffstats
path: root/jitsi-videobridge.service
diff options
context:
space:
mode:
Diffstat (limited to 'jitsi-videobridge.service')
-rw-r--r--jitsi-videobridge.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/jitsi-videobridge.service b/jitsi-videobridge.service
new file mode 100644
index 00000000000..d5436041470
--- /dev/null
+++ b/jitsi-videobridge.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Jitsi Videobridge
+Wants=network-online.target
+After=network-online.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/jitsi/videobridge/jitsi-videobridge.conf
+ExecStart=/opt/jitsi-videobridge/jvb.sh --host=${JVB_HOST} --domain=${JVB_HOSTNAME} --port=${JVB_PORT} --secret=${JVB_SECRET} ${JVB_OPTS}
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target