服务启动/停止/自启command 随记

来自三线的随记

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}


相关页面 Linux systemctl services

Linux在不修改原service配置文件的情况下修改service参数