永发信息网

linux基础问题:svc -d /service/softsh/ svc -u /service/softsh/ 是什么意思啊?麻烦大虾们指点

答案:1  悬赏:60  手机版
解决时间 2021-03-26 13:22
  • 提问者网友:低吟詩仙的傷
  • 2021-03-25 22:26
linux基础问题:svc -d /service/softsh/ svc -u /service/softsh/ 是什么意思啊?麻烦大虾们指点
最佳答案
  • 五星知识达人网友:孤独的牧羊人
  • 2021-03-25 23:06
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.
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯