Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4b5954d

Browse files
Junjie Yuanunknwon
Junjie Yuan
authored andcommitted
Update faqs.md (#238)
If you disable gogs.service, /etc/systemd/system/gogs.service will be delete
1 parent 2d1a566 commit 4b5954d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎zh-CN/intro/faqs.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Gogs 拥有一些由第三方提供的脚本来支持以守护进程形式运行
128128
1. 更新 `User``Group``WorkingDirectory``ExecStart``Environment` 为相对应的值。其中 `WorkingDirectory` 为您的 Gogs 实际安装路径根目录。
129129
3. [可选] 如果您 Gogs 安装示例使用 `MySQL/MariaDB``PostgreSQL``Redis``memcached`,请去掉相应 `After` 属性的注释。
130130

131-
当您完成修改后,请将文件保存至 `/etc/systemd/system/gogs.service`,然后通过 `sudo systemctl enable gogs` 命令激活,最后执行 `sudo systemctl start gogs`
131+
当您完成修改后,请将文件保存至 `/usr/lib/systemd/system/gogs.service`,然后通过 `sudo systemctl enable gogs` 命令激活,最后执行 `sudo systemctl start gogs`
132132

133133
您可以通过 `sudo systemctl status gogs -l``sudo journalctl -b -u gogs` 命令检查 Gogs 的运行状态。
134134

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /