summarylogtreecommitdiffstats
path: root/mihomo.service
diff options
context:
space:
mode:
authorChenx Dust2023-12-09 02:13:30 +0800
committerChenx Dust2023-12-09 02:13:30 +0800
commit4320972a36da9baa4600cf5570ce3b0c23b9f2db (patch)
tree6142d8f0d820b6627d2555d9381f066411ee63fa /mihomo.service
parent9d94cf3121cd8e2ba311d6bca620079906816831 (diff)
downloadaur-4320972a36da9baa4600cf5570ce3b0c23b9f2db.tar.gz
Rename: hello mihomo
Diffstat (limited to 'mihomo.service')
-rw-r--r--mihomo.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/mihomo.service b/mihomo.service
new file mode 100644
index 000000000000..4f85302376c0
--- /dev/null
+++ b/mihomo.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Mihomo Kernel by MetaCubeX.
+After=network.target NetworkManager.service systemd-networkd.service iwd.service
+
+[Service]
+Type=exec
+CapabilityBoundingSet=cap_net_admin
+AmbientCapabilities=cap_net_admin
+Restart=on-abort
+ExecStart=/usr/bin/mihomo -d /etc/mihomo
+
+[Install]
+WantedBy=multi-user.target