检查服务是否自启动
systemctl is-enabled nginx # enabled/disabled
检查一个服务是否启动
systemctl is-active nginx # active/inactive