服务启动/停止/自启command 随记:修订间差异
来自三线的随记
小 (Admin移动页面服务/启动/停止/自启至服务启动/停止/自启,不留重定向) |
小无编辑摘要 |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
=== Ubuntu === | ===Ubuntu=== | ||
service *** {start | status | stop} | service *** {start | status | stop} | ||
systemctl {start | stop | status | enable | disable | reenable | is-enabled} ***** | systemctl {start | stop | status | enable | disable | reenable | is-enabled} ***** | ||
=== Cenntos === | ===Cenntos=== | ||
systemctl {start | stop | status | enable | disable | reenable | is-enabled} ***** | systemctl {start | stop | status | enable | disable | reenable | is-enabled} ***** | ||
=== Red hat === | ===Red hat=== | ||
chkconfig *** {on | off |--list} | chkconfig *** {on | off |--list} | ||
相关页面 [[Linux systemctl services]] | |||
[[Linux在不修改原service配置文件的情况下修改service参数]] | |||
[[分类:Linux]] | [[分类:Linux]] | ||
{{DEFAULTSORT:Fuwu}} |
2020年12月13日 (日) 03:14的最新版本
Ubuntu
service *** {start | status | stop}
systemctl {start | stop | status | enable | disable | reenable | is-enabled} *****
Cenntos
systemctl {start | stop | status | enable | disable | reenable | is-enabled} *****
Red hat
chkconfig *** {on | off |--list}