summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--janus.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/janus.service b/janus.service
new file mode 100644
index 000000000000..f33e3e569371
--- /dev/null
+++ b/janus.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Janus WebRTC Gateway
+Wants=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/janus
+User=janus
+Group=janus
+Restart=on-failure
+LimitNOFILE=65536
+TasksMax=infinity
+
+[Install]
+WantedBy=multi-user.target