service-runner:像supervisor一样在后台运行服务

时间:2024-03-10 14:12:47
【文件属性】:

文件名称:service-runner:像supervisor一样在后台运行服务

文件大小:4KB

文件格式:ZIP

更新时间:2024-03-10 14:12:47

launcher supervisor microservices-architecture service-runner Shell

概述 该实用程序indended使用很像,运行在后台拦截应用程序,系统启动时。 另一个目标是将服务脚本带入日常开发过程中。 用法 如果您构建应用程序(尤其是通过遵循微服务架构),则可能需要许多应用程序和服务才能开始开发。 如下: #! /bin/bash DIR= " $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) " . /etc/aktos/service-runner/tmux-launch launch-service $( calc-session-name " $0 " ) # run commands in tmux session run-in-tmux " cd $DIR " " ./my-service1.sh " run-in-tmux " cd $DIR " " python ./my-service2.


【文件预览】:
service-runner-master
----install.sh(193B)
----create-service-here(1KB)
----tmux-launch(2KB)
----gen-boot-command(367B)
----README.md(3KB)
----cheatsheet.md(314B)

网友评论