Migrate Mihomo and IPtables scripts from systemd to OpenRC and update service configurations

This commit is contained in:
2026-02-15 14:01:05 +03:00
parent 4064712533
commit 58030f0651
6 changed files with 26 additions and 40 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Mihomo IPtables rules fixer
After=network.target
Before=mihomo.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/iptables-mihomo-setup.sh
RemainAfterExit=true
[Install]
WantedBy=multi-user.target