summarylogtreecommitdiffstats
path: root/novnc@.service
diff options
context:
space:
mode:
Diffstat (limited to 'novnc@.service')
-rw-r--r--novnc@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/novnc@.service b/novnc@.service
new file mode 100644
index 000000000000..039d7a886331
--- /dev/null
+++ b/novnc@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=noVNC Service
+After=network.target
+
+[Service]
+Type=idle
+DynamicUser=yes
+Restart=on-failure
+RestartSec=5s
+ExecStart=/usr/bin/novnc --vnc %i
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file