summarylogtreecommitdiffstats
path: root/clash.service
diff options
context:
space:
mode:
authorAdi Prasetya2022-03-14 21:41:26 +0700
committerAdi Prasetya2022-03-14 21:41:26 +0700
commit00e4fb6cb88bc5f56becfbd52a325f6cf595b02a (patch)
treea5572b82a389b6bf286d7ab7bc2ab405ed748732 /clash.service
parent9fc8c3a3e502a70b8c950dd1047ed5a5777ec1f6 (diff)
downloadaur-00e4fb6cb88bc5f56becfbd52a325f6cf595b02a.tar.gz
add another service
Diffstat (limited to 'clash.service')
-rw-r--r--clash.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/clash.service b/clash.service
new file mode 100644
index 000000000000..237c45d27b0b
--- /dev/null
+++ b/clash.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=A rule based proxy in Go.
+After=network.target
+
+[Service]
+Type=exec
+Restart=on-abort
+ExecStart=/usr/bin/clash -d /etc/clash
+
+[Install]
+WantedBy=default.target