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

[第 86 期] [自荐] Window 系统服务注册工具: EasyService #953

Open
pandolia opened this issue Nov 9, 2019 · 0 comments
Open

Comments

@pandolia
Copy link

pandolia commented Nov 9, 2019

如果你的 Windows 程序需要在开机后用户登录之前自动运行、且在用户注销之后也不停止,那么你需要将程序注册为一个系统服务。

然而,在 Windows 下编写一个可注册为系统服务的程序并不是一件简单的事情。首先,程序必须为二进制的可执行程序,这就排除了脚本语言和虚拟机语言;其次,程序必须按系统服务的格式编写,编写过程繁琐,编写示例可见:MS 官方文档

EasyService 是一个可以将常规程序注册为系统服务的工具。你可以按常规的方法编写程序,然后用 EasyService 注册为一个系统服务,这样你的程序就可以在开机后用户登录之前自动运行、且在用户注销之后也不会停止。

如果你需要在 Windows Server 下部署网站、Api 等服务, EasyService 将是一个很有用的工具。

@ruanyf ruanyf changed the title [自荐] Window 系统服务注册工具: EasyService [第 86 期] [自荐] Window 系统服务注册工具: EasyService Nov 11, 2019
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

1 participant