summarylogtreecommitdiffstats
path: root/switcher.service
diff options
context:
space:
mode:
Diffstat (limited to 'switcher.service')
-rw-r--r--switcher.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/switcher.service b/switcher.service
new file mode 100644
index 000000000000..33ff5b5431ed
--- /dev/null
+++ b/switcher.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=SSH and HTTPS switcher
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/switcher --listen :443 --ssh 127.0.0.1:22 --default 127.0.0.1:4433
+
+[Install]
+WantedBy=multi-user.target