summarylogtreecommitdiffstats
path: root/clash@.service
diff options
context:
space:
mode:
Diffstat (limited to 'clash@.service')
-rw-r--r--clash@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/clash@.service b/clash@.service
new file mode 100644
index 000000000000..db1487492de6
--- /dev/null
+++ b/clash@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=A rule based proxy in Go for %i.
+After=network.target
+
+[Service]
+Type=exec
+User=%i
+Restart=on-abort
+ExecStart=/usr/bin/clash
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file