Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

成功安装但显示为暂停状态 #2

Open
okango88 opened this issue Jul 5, 2024 · 4 comments
Open

成功安装但显示为暂停状态 #2

okango88 opened this issue Jul 5, 2024 · 4 comments

Comments

@okango88
Copy link

okango88 commented Jul 5, 2024

Snipaste_2024-07-06_04-46-43
Snipaste_2024-07-06_04-47-01
Snipaste_2024-07-06_04-47-17
在多台电脑,win10系统,安装成功,但去服务查看,均显示为暂停状态

@basaltfiber
Copy link

+1

@ysjiang4869
Copy link

这个脚本的代码有点问题貌似。

我进行了修复,powershell使用管理员权限执行,测试成功。

参考我的gist

另外,按照代码,停止wireguard tunnel对应的服务名应该是companytemp 即配置文件名去掉conf后缀+temp

@xiaopangzia
Copy link

https://kenvix.com/post/wireguard-ddns-windows 里面评论有个方法亲测可行

schtasks /create /tn “update_wg” /ru system /sc minute /mo 2 /tr " ‘C:\Program Files\WireGuard\wg.exe’ syncconf wg0 d:\wg0.conf "

@xiaopangzia
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants