svc

svc -u是启动
svc -d 是停止
svc -t是重启对象应该就是/service/softsh/下面的脚本吧。svc(8)                                                     svc(8)NAMEsvc - controls services monitored by supervise(8).SYNOPSISsvc [ -udopchaitkx ] servicesDESCRIPTIONservices  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 theservice stops, restart it.-d     Down.  If  the  service  is running, send it a TERMsignal and then a CONT signal. After it  stops,  donot restart it.


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部