Giter VIP home page Giter VIP logo

serviceonset's People

Contributors

heddaz avatar qianlifeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

serviceonset's Issues

再提一个服务管理的建议

目前的做法是生成一个 ServiceOnset 服务管理所有程序。如果我用一个ServiceOnset.exe同时管理几个CMD程序,例如像下面这样的配置:
{
"enableLog": true,
"services": [
{
"name": "aaa",
"command": "aaa.exe"
},
{
"name": "bbb",
"command": "bbb.exe"
},
{
"name": "ccc",
"command": "ccc.exe"
}
]
}
如果现在 aaa应用有点小问题,我想重启一下aaa服务,就要重启ServiceOnset服务,这时ServiceOnset管理的 aaa,bbb,ccc,3个程序都会重启,感觉有点不太方便,能不能考虑把不同的程序生成不同的服务,这样可以单独管理,互不影响。比如aaa程序,根据他的 name 值,生成 aaa服务,bbb,ccc,同理。不知我的建议是否合理?

Add start failed log

Somehow , I changed the config file name. And when I try to start the serviceonset.exe service, windows tell me can't start this service because program didn't response in time. Maybe you just can't find the config file, but at least tell user what's happened and what do the program need to start.

workingDirectory 能否支持相对路径?

我试了一下,workingDirectory 参数好像不支持相对路径,能否考虑添加以 ServiceOnset.exe 或者 ServiceOnset.exe.json 为根的相对路径支持,因为我的cow是放在ServiceOnset目录下面一个子目录。如果我要换电脑,或者移动了ServiceOnset目录到其他位置,又得改workingDirectory 参数,如果使用相对路径的话,只要保持ServiceOnset目录内部结构不变,就不存在这个问题了。

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.