Linux 系统中的各种服务管理方式区别

283次阅读
没有评论

先列出Linux系统中的各种服务管理方式

  • /etc/init.d 是sysVinit服务的启动方式,对于一些古老的系统或者服务 使用这个.
  • service 也是sysVinit, 比/etc/init.d先进一点,底层还是调用/etc/init.d
  • systemctl 是systemD命令的主要方式, 尽管一些老的系统或者命令不支持systemctl, 但是systemctl最后会逐渐的替代其他的命令方式的, 能用这个就优先用这个,是最时尚/方便的
  • systemctl的config文件存在 /lib/systemd/system/xxxxxx.serive
正文完
 0
wujingquan
版权声明:本站原创文章,由 wujingquan 于2024-09-20发表,共计268字。
转载说明:Unless otherwise specified, all articles are published by cc-4.0 protocol. Please indicate the source of reprint.
评论(没有评论)