summarylogtreecommitdiffstats
path: root/clash-rs@.service
diff options
context:
space:
mode:
authordetiam2023-11-30 19:56:14 +0800
committerdetiam2023-11-30 19:56:14 +0800
commit0241bdf62e08359dae5d013ba2c6e379606e1ee9 (patch)
tree108135d492903097795978e0f6703e7c205db06b /clash-rs@.service
parent9d94cf3121cd8e2ba311d6bca620079906816831 (diff)
downloadaur-0241bdf62e08359dae5d013ba2c6e379606e1ee9.tar.gz
Clash.Meta -> ClashRS
Diffstat (limited to 'clash-rs@.service')
-rw-r--r--clash-rs@.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/clash-rs@.service b/clash-rs@.service
new file mode 100644
index 000000000000..e25a3704f30d
--- /dev/null
+++ b/clash-rs@.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=ClashRS Daemon, Another Clash Kernel.
+After=network.target NetworkManager.service systemd-networkd.service iwd.service
+
+[Service]
+Type=exec
+User=%i
+CapabilityBoundingSet=cap_net_admin
+AmbientCapabilities=cap_net_admin
+Restart=on-abort
+ExecStart=/usr/bin/clash-rs
+
+[Install]
+WantedBy=multi-user.target