Linux systemctl 管理系统服务

  1. systemctl status serviceName
  2. systemctl start
  3. systemctl stop
  4. systemctl reload
  5. systemctl enable
  6. systemctl disable
  7. systemctl is-enabled
  8. systemctl list-unit-files --type-service