> For the complete documentation index, see [llms.txt](https://websoft9.gitbook.io/odoo-image-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://websoft9.gitbook.io/odoo-image-guide/odoo-jing-xiang-shou-ce-1/ru-he-zhong-qi-huo-guan-bi-xi-tong-fu-wu.md).

# 如何重启或关闭系统服务？

Odoo的使用过程中，有时候会由于错误的设置、升级失败等原因导致系统无法访问，一般可以通过重启服务的方式进行恢复，具体方式如下：

## [Linux版本](/odoo-image-guide/odoo-jing-xiang-shou-ce-1/ru-he-zhong-qi-huo-guan-bi-xi-tong-fu-wu.md#701) <a href="#linux" id="linux"></a>

使用putty远程登录到Linux系统，运行如下两条命令：

```
~#systemctl restart odoo.service 
~#systemctl restart nginx
```

## [Windows版本](/odoo-image-guide/odoo-jing-xiang-shou-ce-1/ru-he-zhong-qi-huo-guan-bi-xi-tong-fu-wu.md#702) <a href="#windows" id="windows"></a>

Odoo服务重启两种方式：

* 方式1: 开始 –> 管理工具 –> 服务 –>找到 odoo-server-11.0 –> 重启/停止/暂停
* 方式2 : 开始 > 运行 > 输入 cmd > cmd内输入命令 net start odoo-server-11.0 启动服务(或net stop odoo-server-11.0停止服务)
