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