Run release sync through local WSL mihomo

This commit is contained in:
gitea committed 2026-09-23 10:28:05 +08:00
1 parent 8b538c628e
commit 74ad1967fa
4 files changed
+30 -6

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Local mihomo proxy for WSL services
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=dev
ExecStart=/usr/local/bin/mihomo -d /home/dev/.config/mihomo
Restart=on-failure
RestartSec=15
LimitNOFILE=1048576
NoNewPrivileges=true
[Install]
WantedBy=multi-user.target
+4 -3
View File
@@ -1,14 +1,15 @@
[Unit]
Description=Promote GitHub releases to Gitea and Homebrew
After=network-online.target docker.service
After=network-online.target docker.service mihomo.service
Wants=network-online.target
Requires=mihomo.service
[Service]
Type=oneshot
User=dev
WorkingDirectory=/home/dev/apps/seal-use-release-sync
Environment=HOME=/home/dev
Environment=HTTP_PROXY=http://192.168.3.62:7897
Environment=HTTPS_PROXY=http://192.168.3.62:7897
Environment=HTTP_PROXY=http://127.0.0.1:7897
Environment=HTTPS_PROXY=http://127.0.0.1:7897
Environment=NO_PROXY=127.0.0.1,localhost,100.82.151.105,git.ying-qing.cn
ExecStart=/home/dev/apps/seal-use-release-sync/release-sync.sh