summarylogtreecommitdiffstats
path: root/inlets-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'inlets-server.service')
-rw-r--r--inlets-server.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/inlets-server.service b/inlets-server.service
new file mode 100644
index 00000000000..dbd77c8c43d
--- /dev/null
+++ b/inlets-server.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Inlets server
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/default/inlets-server
+ExecStart=/usr/bin/inlets server --port=${port:8080} --token=$token
+
+[Install]
+WantedBy=multi-user.target