文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>DEBIAN下控制服务的命令

DEBIAN下控制服务的命令

时间:2007-05-23  来源:a-ki

刚发现在一个DEBIAN下的控制服务的命令,
省去了每次打入长长的一串路径 。

# invoke-rc.d vsftpd restart
# invoke-rc.d --help

invoke-rc.d, Debian/SysVinit (/etc/rc?.d) initscript subsystem.
Copyright (c) 2000,2001 Henrique de Moraes Holschuh <[email protected]>

Usage:
  invoke-rc.d [options] <basename> <action> [extra parameters]

  basename - Initscript ID, as per update-rc.d(8)
  action   - Initscript action. Known actions are:
                start, [force-]stop, restart,
                [force-]reload, status
  WARNING: not all initscripts implement all of the above actions.

  extra parameters are passed as is to the initscript, following
  the action (first initscript parameter).
相关阅读 更多 +
排行榜 更多 +
果冻防御

果冻防御

策略塔防 下载
鬼谷修仙手机版

鬼谷修仙手机版

模拟经营 下载
核心防御

核心防御

策略塔防 下载