summarylogtreecommitdiffstats
path: root/clashr@.service
diff options
context:
space:
mode:
authormaniacata2020-04-05 00:38:10 +0800
committermaniacata2020-04-05 00:38:10 +0800
commite9a97e1a3c17d27739d2da0a9827d09fe3f407f8 (patch)
treeb2bd2fcad3cae8b4686fa2d10981a3291e47ba7d /clashr@.service
downloadaur-e9a97e1a3c17d27739d2da0a9827d09fe3f407f8.tar.gz
initial commit.
Diffstat (limited to 'clashr@.service')
-rw-r--r--clashr@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/clashr@.service b/clashr@.service
new file mode 100644
index 000000000000..48fc9d08a7d6
--- /dev/null
+++ b/clashr@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=A rule based proxy in Go with SSR protocol support for %i.
+After=network.target
+
+[Service]
+Type=simple
+User=%i
+Restart=on-abort
+ExecStart=/usr/bin/clashr
+
+[Install]
+WantedBy=multi-user.target