svc -u是启动 svc -d 是停止 svc -t是重启 对象应该就是/service/softsh/下面的脚本吧。 svc(8) svc(8) NAME svc - controls services monitored by supervise(8). SYNOPSIS svc [ -udopchaitkx ] services DESCRIPTION services consists of any number of arguments, each argu- ment naming a directory used by supervise(8). svc applies all the options to each service in turn. OPTIONS -u Up. If the service is not running, start it. If the service stops, restart it. -d Down. If the service is running, send it a TERM signal and then a CONT signal. After it stops, do not restart it.
svc
最新推荐文章于 2021-05-12 15:55:51 发布