Giter VIP home page Giter VIP logo

win-service's Introduction

win-service

基于aardio语言的Windows服务管理程序,赋予不支持安装为系统服务的程序(如nginx、node.js、批处理等)创建Windows Service,无任何环境依赖,配置简单。欢迎大家指导。

基于aardio官方范例改造。

当前最新版本: 1.0.0.02(发布日期:2021-06-05)

更新历史

  • 2021-06-05 版本: 1.0.0.02
    1. service.json配置文件调整为utf8格式,解决中文创建服务乱码问题。
    2. 增加service.json配置文件存在中文等字符时字符编码必须是UT8格式的错误提示。
    3. 修复因执行程序进程启动失败,服务没切换到停止状态导致服务进程没有停止。

使用说明

nginx服务安装示例

下载服务管理主程序win-service.exe及配置文件service.json并复制到nginx安装目录下。

service.json配置文件数据:

    {
      "name": "nginx",
      "display_name": "Nginx Service",
      "description": "Nginx Service",
      "executable": "nginx.exe",
      "executable_args": "",
      "stop_args":"-s stop"
    }

确认配置没问题后打开win-service.exe管理程序按照提示操作即可。

win-service's People

Contributors

vyks520 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.